Propagate exceptions in OC.appSettings.
This commit is contained in:
parent
274d1ef87f
commit
98f37b93f6
|
@ -199,8 +199,8 @@ OC={
|
||||||
$.ajaxSetup({cache: true});
|
$.ajaxSetup({cache: true});
|
||||||
}
|
}
|
||||||
$.getScript(OC.filePath(props.appid, 'js', scriptname))
|
$.getScript(OC.filePath(props.appid, 'js', scriptname))
|
||||||
.fail(function(jqxhr, settings, exception) {
|
.fail(function(jqxhr, settings, e) {
|
||||||
settings.append('<span>'+t('core', 'Error loading script for the settings')+'</span>');
|
throw e;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue