summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-02-25 17:58:25 +0100
committerEgil Moeller <egil.moller@freecode.no>2012-02-25 17:58:25 +0100
commit1d86c828bc47db69b6b61f4cf996da7352ba7ff9 (patch)
treee305d3b11de427714df40af73860e264c0b9eb3e
parent7b429874071805b2928ef26eb7c157675e8e5182 (diff)
downloadetherpad-lite-1d86c828bc47db69b6b61f4cf996da7352ba7ff9.zip
Bugfix for plugin listing
-rw-r--r--node/pluginfw/plugins.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/pluginfw/plugins.js b/node/pluginfw/plugins.js
index 2c0c00ff..e66477ad 100644
--- a/node/pluginfw/plugins.js
+++ b/node/pluginfw/plugins.js
@@ -116,6 +116,7 @@ exports.loadPlugin = function (packages, plugin_name, plugins, parts, cb) {
function (er, data) {
var plugin = JSON.parse(data);
plugin.package = packages[plugin_name];
+ plugins[plugin_name] = plugin;
plugin.parts.forEach(function (part) {
part.plugin = plugin;
part.full_name = plugin_name + "/" + part.name;