mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
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('html').on('click.outsideOfMenu', function (event){
|
||||||
$j(menubox).accordion( "option", "active", 2);
|
$j(menubox).accordion( "option", "active", 2);
|
||||||
$j(this).unbind(event);
|
$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