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