Propagate exceptions in OC.appSettings.

This commit is contained in:
Thomas Tanghus 2012-08-01 16:23:11 +02:00
parent 274d1ef87f
commit 98f37b93f6

View file

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