diff --git a/core/js/js.js b/core/js/js.js index f053c97b49..04fe5c2874 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(''+t('core', 'Error loading script for the settings')+''); + .fail(function(jqxhr, settings, e) { + throw e; }); } });