projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95044c9
)
Roo/bootstrap/MenuMgr.js
author
edward
<edward@roojs.com>
Wed, 16 Dec 2015 05:18:39 +0000
(13:18 +0800)
committer
edward
<edward@roojs.com>
Wed, 16 Dec 2015 05:18:39 +0000
(13:18 +0800)
Roo/bootstrap/MenuMgr.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MenuMgr.js
b/Roo/bootstrap/MenuMgr.js
index
41f81e4
..
f2860af
100644
(file)
--- a/
Roo/bootstrap/MenuMgr.js
+++ b/
Roo/bootstrap/MenuMgr.js
@@
-89,7
+89,11
@@
Roo.bootstrap.MenuMgr = function(){
// private this should really trigger on mouseup..
function onMouseDown(e){
- Roo.log("on Mouse Up");
+ Roo.log("on MouseDown");
+ Roo.log(lastShow.getElapsed());
+ Roo.log(active.length);
+ Roo.log(!e.getTarget(".x-menu"));
+ Roo.log(!e.getTarget('.user-menu'));
if(lastShow.getElapsed() > 50 && active.length > 0 && !e.getTarget(".x-menu") && !e.getTarget('.user-menu')){
Roo.log("hideAll");
hideAll();