added ability show context menu on right click while menu is showing now

This commit is contained in:
coderaiser 2013-02-09 04:47:27 -05:00
parent 9309ba1d1b
commit 19b773f43c
2 changed files with 10 additions and 3 deletions

View file

@ -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

View file

@ -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);
}
}
}