projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befcebe
)
Bug #8880: Close contextmenu when clicking on any element that activates the same...
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 22 Apr 2010 21:18:09 +0000
(15:18 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 22 Apr 2010 21:18:09 +0000
(15:18 -0600)
horde/js/ContextSensitive.js
patch
|
blob
|
history
diff --git
a/horde/js/ContextSensitive.js
b/horde/js/ContextSensitive.js
index
2a5c369
..
e52d0b8
100644
(file)
--- a/
horde/js/ContextSensitive.js
+++ b/
horde/js/ContextSensitive.js
@@
-237,7
+237,8
@@
var ContextSensitive = Class.create({
if (!ctx ||
ctx.disable ||
!(el = $(ctx.ctx)) ||
- (leftclick && target == this.baseelt)) {
+ (leftclick && target == this.baseelt) ||
+ this.currentmenu() == ctx.ctx) {
this.close();
return false;
}