From c1630b5729185bcf33d165477956f856319ab0cf Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 22 Jul 2015 13:56:15 +0000 Subject: [PATCH] Do not hide selectbox if the hover is on selectbox options -Fix quick_add selectbox flickering in FF39 --- pixelegg/js/slider.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pixelegg/js/slider.js b/pixelegg/js/slider.js index 00e974ee07..9cf3a0a917 100644 --- a/pixelegg/js/slider.js +++ b/pixelegg/js/slider.js @@ -160,7 +160,10 @@ egw_LAB.wait(function() { }, mouseout: function(ev){ // do NOT react on bubbeling events from contained selectbox - if (ev.target && ev.target.id != 'quick_add_selectbox' && ev.relatedTarget.id != 'quick_add' && ev.relatedTarget.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_selectbox' + && ev.relatedTarget.tagName != "OPTION") { $j(this).css({ transition: "0.6s ease-out 0s",