Propagate exceptions in OC.appSettings.

This commit is contained in:
Thomas Tanghus 2012-08-01 16:23:11 +02:00
parent 274d1ef87f
commit 98f37b93f6
1 changed files with 2 additions and 2 deletions

View File

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