diff options
author | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 13:29:15 +0100 |
---|---|---|
committer | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-24 18:48:53 +0100 |
commit | 1789c6e1c5c255397fbd918efdf339c6e1bf0510 (patch) | |
tree | d14a119e2d8e64c87fe08f11806c11fe3c9886c4 /src | |
parent | ef248555aaaf93aee25e7aeaac2fb78c2c8ab0e4 (diff) | |
download | etherpad-lite-1789c6e1c5c255397fbd918efdf339c6e1bf0510.zip |
proceed if plugin-definitions.json didn't load properly
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/pluginfw/plugins.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/static/js/pluginfw/plugins.js b/src/static/js/pluginfw/plugins.js index 0745b698..aa2dfafb 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 { |