Do not hide context menu when clicking on a folder menu item.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8829 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
e1072a3c4f
commit
daacea11dc
2 files changed
+5
-1
No files matched your search
@@ -35,6 +35,10 @@ ContextMenu.prototype = {
|
||||
},
|
||||
|
||||
Click: function(e) {
|
||||
if (Event.element(e).tagName == 'A' && Event.element(e).hasClassName('submenu')) {
|
||||
Event.stop(e)
|
||||
return;
|
||||
}
|
||||
this.hideMenu();
|
||||
if (Event.element(e).tagName == 'A' || Event.element(e).tagName == 'IMG') { return; }
|
||||
if (Event.isLeftClick(e) || (navigator.appVersion.match(/\bMSIE\b/))) {
|
||||
|
||||
Reference in new issue
Block a user