mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
added ability show context menu on right click while menu is showing now
This commit is contained in:
parent
9309ba1d1b
commit
19b773f43c
2 changed files with 10 additions and 3 deletions
|
|
@ -130,6 +130,9 @@ time was changed.
|
|||
|
||||
* Fixed bug with (fake) deleting file.
|
||||
|
||||
* Added ability show context menu on right click
|
||||
while menu is showing now.
|
||||
|
||||
|
||||
2012.12.12, Version 0.1.8
|
||||
|
||||
|
|
|
|||
|
|
@ -180,7 +180,13 @@ var CloudCommander, Util, DOM, $;
|
|||
},
|
||||
|
||||
// define the elements of the menu
|
||||
items: getAllItems(lMenuItems)
|
||||
items: getAllItems(lMenuItems),
|
||||
events:{
|
||||
hide: function(){
|
||||
var lLayer = DOM.getById('context-menu-layer');
|
||||
DOM.addOneTimeListener('contextmenu', clickProcessing, lLayer);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return lRet;
|
||||
|
|
@ -259,8 +265,6 @@ var CloudCommander, Util, DOM, $;
|
|||
lLayer.style.cssText = lStyle;
|
||||
|
||||
KeyBinding.set();
|
||||
|
||||
//DOM.addListener('contextmenu', clickProcessing, lLayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue