diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-01 16:23:11 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-01 16:24:02 +0200 |
commit | 98f37b93f62ce01d11234dfca2abfdae7203a92e (patch) | |
tree | 0ea234fbcd5882f36d23c76bcbc2441018c3a5bb /core | |
parent | 274d1ef87f1824101982cc2722915ee0fadc02cf (diff) | |
download | nextcloud-server-98f37b93f62ce01d11234dfca2abfdae7203a92e.tar.gz nextcloud-server-98f37b93f62ce01d11234dfca2abfdae7203a92e.zip |
Propagate exceptions in OC.appSettings.
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js index f053c97b490..04fe5c28740 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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; }); } }); |