forked from extern/egroupware
Remove focus class from toolbar More when user clicks somewhere else on the page
This commit is contained in:
parent
5f5baa6686
commit
2a88ce69bd
@ -431,6 +431,8 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
|
||||
$j('html').on('click.outsideOfMenu', function (event){
|
||||
$j(menubox).accordion( "option", "active", 2);
|
||||
$j(this).unbind(event);
|
||||
// Remove the focus class, user clicked elsewhere
|
||||
$j(menubox).children().removeClass('ui-state-focus');
|
||||
});
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user