diff --git a/core/js/js.js b/core/js/js.js index f053c97b490aaf29ae9251fa3c70270415c949f6..04fe5c28740991ba54fdd9d03b7d98b5422b66d4 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; }); } });