1
0
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:
Thomas Tanghus 2013-04-30 22:19:02 +02:00
parent d7ef656a08
commit 1f77d32438

View File

@ -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);
});
});