From 1789c6e1c5c255397fbd918efdf339c6e1bf0510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sat, 24 Mar 2012 13:29:15 +0100 Subject: [PATCH] proceed if plugin-definitions.json didn't load properly --- src/static/js/pluginfw/plugins.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/static/js/pluginfw/plugins.js b/src/static/js/pluginfw/plugins.js index 0745b6986..aa2dfafb2 100644 --- a/src/static/js/pluginfw/plugins.js +++ b/src/static/js/pluginfw/plugins.js @@ -86,6 +86,9 @@ if (exports.isClient) { exports.hooks = exports.extractHooks(exports.parts, "client_hooks"); exports.loaded = true; cb(); + }).error(function(xhr, s, err){ + console.error("Failed to load plugin-definitions: " + err); + cb(); }); } } else {