forked from extern/egroupware
deals with situation that no extra application menu is necessary
This commit is contained in:
parent
bec9fe838e
commit
8d1633f58b
@ -27,11 +27,11 @@ egw_LAB.wait(function() {
|
||||
mouseHandler = data_slide_out == 'mouseover'?'mouseover':'click';
|
||||
}
|
||||
var extra_icons_show = jQuery('#extra_icons_show');
|
||||
if (extra_icons_show.length)
|
||||
{
|
||||
var menu1Container = jQuery('#menu1Container')
|
||||
.width(180)
|
||||
.offset({top:extra_icons_show.offset().top+extra_icons_show.height()});
|
||||
var menu2show = jQuery('#menu2show');
|
||||
var menu2Container = jQuery('#menu2Container');
|
||||
//Click handler for extra apps menu
|
||||
extra_icons_show.on(mouseHandler,function (event){
|
||||
var extraIcon = event;
|
||||
@ -45,6 +45,9 @@ egw_LAB.wait(function() {
|
||||
menu1Container.slideToggle();
|
||||
}
|
||||
);
|
||||
}
|
||||
var menu2show = jQuery('#menu2show');
|
||||
var menu2Container = jQuery('#menu2Container');
|
||||
// Click handler for sidebox menu
|
||||
menu2show.on(mouseHandler,function (event){
|
||||
var m2showIcon = event;
|
||||
|
Loading…
Reference in New Issue
Block a user