summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/views
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-25 22:57:33 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-25 22:57:33 +0100
commit10bd0793f4dc0191d97da390a43552a272c8290e (patch)
tree87b62f81e62b630a89e80beabdec5dd54a359338 /pyload/web/app/scripts/views
parentrender addon menu for packages (diff)
downloadpyload-10bd0793f4dc0191d97da390a43552a272c8290e.tar.xz
invoke addons via context menu
Diffstat (limited to 'pyload/web/app/scripts/views')
-rw-r--r--pyload/web/app/scripts/views/dashboard/packageView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/views/dashboard/packageView.js b/pyload/web/app/scripts/views/dashboard/packageView.js
index 30121c344..1bb250f27 100644
--- a/pyload/web/app/scripts/views/dashboard/packageView.js
+++ b/pyload/web/app/scripts/views/dashboard/packageView.js
@@ -87,7 +87,7 @@ define(['jquery', 'app', 'views/abstract/itemView', 'underscore', 'hbs!tpl/dashb
if (el.context.tagName === 'IMG')
el = el.parent();
- App.addons.invoke(el.data('plugin'), el.data('func'), this.model.get('pid'));
+ App.addons.invoke(el.data('plugin'), el.data('func'), [this.model.get('pid')]);
}
});