projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e594283
)
Roo/bootstrap/Menu.js
author
Alan Knowles
<alan@roojs.com>
Fri, 11 Jan 2019 06:47:27 +0000
(14:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 11 Jan 2019 06:47:27 +0000
(14:47 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
019bce3
..
9a66f9a
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-326,12
+326,12
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
*/
hide : function(deep)
{
-
+ if (true === this.fireEvent("beforehide", this)) {
+ return;
+ }
this.hideMenuItems();
if(this.el && this.isVisible()){
- if (true === this.fireEvent("beforehide", this)) {
- return;
- }
+
if(this.activeItem){
this.activeItem.deactivate();
this.activeItem = null;