1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Show less detailed error msg. Refs. #395

This commit is contained in:
Thomas Tanghus 2014-02-04 16:19:10 +01:00
parent c8ea6ae6e6
commit e9beda182f

View File

@ -1153,8 +1153,8 @@ OC.Contacts = OC.Contacts || {};
bday = $.datepicker.parseDate('yy-mm-dd', bday.substring(0, 10));
bday = $.datepicker.formatDate(datepickerFormatDate, bday);
} catch (e) {
var message = t('contacts', 'Error parsing birthday {bday}: {error}', {bday:bday, error: e});
console.warn(message);
var message = t('contacts', 'Error parsing birthday {bday}', {bday:bday});
console.warn('Error parsing birthday', bday, e);
bday = '';
$(document).trigger('status.contacts.error', {
status: 'error',