From 33566eec3a52dea7cdc5f5cc53c10944bf620ef0 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 15 Jun 2016 18:04:34 +0200 Subject: [PATCH] Fix top_menu_info items overlap taps when the slider header is off --- pixelegg/js/slider.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixelegg/js/slider.js b/pixelegg/js/slider.js index aae74ae65b..5ddf3de957 100644 --- a/pixelegg/js/slider.js +++ b/pixelegg/js/slider.js @@ -129,7 +129,7 @@ egw_LAB.wait(function() { // hide header, if pref says it is not shown 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){ // do NOT react on bubbeling events from contained selectbox - if (ev.target && ev.relatedTarget && ev.target.id != 'quick_add_selectbox' - && ev.relatedTarget.id != 'quick_add' + if (ev.target && ev.relatedTarget && ev.target.id != 'quick_add_selectbox' + && ev.relatedTarget.id != 'quick_add' && ev.relatedTarget.id !='quick_add_selectbox' && ev.relatedTarget.tagName != "OPTION") {