Fix top_menu_info items overlap taps when the slider header is off

This commit is contained in:
Hadi Nategh 2016-06-15 18:04:34 +02:00
parent 15645add91
commit 33566eec3a

View File

@ -129,7 +129,7 @@ egw_LAB.wait(function() {
// hide header, if pref says it is not shown // hide header, if pref says it is not shown
if (egw.preference('pixelegg_header_hidden')) { if (egw.preference('pixelegg_header_hidden')) {
hide_pixelegg_header(jQuery('#slidetoggle'),0); setTimeout(function(){hide_pixelegg_header(jQuery('#slidetoggle'),0)},1);
} }
}); });
@ -160,8 +160,8 @@ egw_LAB.wait(function() {
}, },
mouseout: function(ev){ mouseout: function(ev){
// do NOT react on bubbeling events from contained selectbox // do NOT react on bubbeling events from contained selectbox
if (ev.target && ev.relatedTarget && ev.target.id != 'quick_add_selectbox' if (ev.target && ev.relatedTarget && ev.target.id != 'quick_add_selectbox'
&& ev.relatedTarget.id != 'quick_add' && ev.relatedTarget.id != 'quick_add'
&& ev.relatedTarget.id !='quick_add_selectbox' && ev.relatedTarget.id !='quick_add_selectbox'
&& ev.relatedTarget.tagName != "OPTION") && ev.relatedTarget.tagName != "OPTION")
{ {