mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Contacts: Log if load of settings fails
This commit is contained in:
parent
d7ef656a08
commit
1f77d32438
@ -1738,8 +1738,12 @@ OC.Contacts = OC.Contacts || {
|
||||
$(document).ready(function() {
|
||||
|
||||
OC.Router.registerLoadedCallback(function() {
|
||||
$.getScript(OC.Router.generate('contacts_jsconfig'), function() {
|
||||
$.getScript(OC.Router.generate('contacts_jsconfig'))
|
||||
.done(function() {
|
||||
OC.Contacts.init();
|
||||
})
|
||||
.fail(function(jqxhr, settings, exception) {
|
||||
console.log('Failed loading settings.', jqxhr, settings, exception);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user