Fix classification menu in component editor

This commit is contained in:
Francis Lachapelle
2013-02-01 14:47:37 -05:00
parent 716daf027d
commit ecc36c9025
3 changed files with 5 additions and 4 deletions

View File

@@ -200,9 +200,7 @@ function onComponentEditorLoad(event) {
if (tmp) {
var menuItems = tmp.childNodesWithTag("li");
for (var i = 0; i < menuItems.length; i++)
menuItems[i].on("mousedown",
onMenuSetClassification.bindAsEventListener(menuItems[i]),
false);
menuItems[i].on("mousedown", onMenuSetClassification);
}
tmp = $("replyList");