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:
parent
dfb12d10e1
commit
5f6d8b0f93
@ -332,7 +332,7 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
var err = textStatus + ', ' + error;
|
var err = textStatus + ', ' + error;
|
||||||
console.warn('Request Failed:', + err);
|
console.warn('Request Failed:', + err);
|
||||||
$(document).trigger('status.contact.error', {
|
$(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();
|
return defer.promise();
|
||||||
@ -369,9 +369,9 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
.fail(function(jqxhr, textStatus, error) {
|
.fail(function(jqxhr, textStatus, error) {
|
||||||
defer.reject();
|
defer.reject();
|
||||||
var err = textStatus + ', ' + error;
|
var err = textStatus + ', ' + error;
|
||||||
console.warn('Request Failed:' err);
|
console.warn('Request Failed:', err);
|
||||||
$(document).trigger('status.contact.error', {
|
$(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();
|
return defer.promise();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user