mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
e8fa3f8260
commit
76946785f1
1 changed files with 4 additions and 3 deletions
|
|
@ -75,9 +75,10 @@ CloudCommander.Menu.set = (function(){
|
|||
|
||||
var lThis = this;
|
||||
|
||||
$('li').addEventListener('contextmenu:hide',function(pEvent){
|
||||
console.log(pEvent);
|
||||
lThis.setCurrentFile(pEvent.target);
|
||||
$('li').on('contextmenu:hide.contextMenu',
|
||||
function(pEvent){
|
||||
console.log(pEvent);
|
||||
lThis.setCurrentFile(pEvent.target);
|
||||
}, false);
|
||||
|
||||
this.seted = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue