1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Too many semi-colons...

This commit is contained in:
Thomas Tanghus 2014-03-08 09:05:52 +01:00
parent dfb12d10e1
commit 5f6d8b0f93

View File

@ -332,7 +332,7 @@ OC.Contacts = OC.Contacts || {};
var err = textStatus + ', ' + error;
console.warn('Request Failed:', + err);
$(document).trigger('status.contact.error', {
message: t('contacts', 'Failed loading photo: {error}', {error:err});
message: t('contacts', 'Failed loading photo: {error}', {error:err})
});
});
return defer.promise();
@ -369,9 +369,9 @@ OC.Contacts = OC.Contacts || {};
.fail(function(jqxhr, textStatus, error) {
defer.reject();
var err = textStatus + ', ' + error;
console.warn('Request Failed:' err);
console.warn('Request Failed:', err);
$(document).trigger('status.contact.error', {
message: t('contacts', 'Failed loading photo: {error}', {error:err});
message: t('contacts', 'Failed loading photo: {error}', {error:err})
});
});
return defer.promise();