From 98f37b93f62ce01d11234dfca2abfdae7203a92e Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Wed, 1 Aug 2012 16:23:11 +0200 Subject: [PATCH] Propagate exceptions in OC.appSettings. --- core/js/js.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }); } });