fix(listeners) onContextMenu: if menu showed in editor first - it would not be shown on a file

This commit is contained in:
coderaiser 2014-06-15 14:27:49 -04:00
parent 617f22b0d7
commit 5bfaa0f74c

View file

@ -189,11 +189,10 @@ var Util, DOM, CloudCmd, MenuIO;
DOM.setCurrentFile(element);
}
if (!MenuIO)
Util.exec(CloudCmd.Menu.show, {
x: event.clientX,
y: event.clientY
});
Util.exec(CloudCmd.Menu, {
x: event.clientX,
y: event.clientY
});
changePanel(element);
}