mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(listeners) onContextMenu: add MenuIO check
This commit is contained in:
parent
c5c159c789
commit
d14730b4da
1 changed files with 6 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
var Util, DOM, CloudCmd;
|
||||
var Util, DOM, CloudCmd, MenuIO;
|
||||
|
||||
(function (Util, DOM) {
|
||||
'use strict';
|
||||
|
|
@ -189,10 +189,11 @@ var Util, DOM, CloudCmd;
|
|||
DOM.setCurrentFile(element);
|
||||
}
|
||||
|
||||
Util.exec(CloudCmd.Menu, {
|
||||
x: event.clientX,
|
||||
y: event.clientY
|
||||
});
|
||||
if (!MenuIO)
|
||||
Util.exec(CloudCmd.Menu.show, {
|
||||
x: event.clientX,
|
||||
y: event.clientY
|
||||
});
|
||||
|
||||
changePanel(element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue