Do not hide selectbox if the hover is on selectbox options

-Fix quick_add selectbox flickering in FF39
This commit is contained in:
Hadi Nategh 2015-07-22 13:56:15 +00:00
parent 6d4a0f84b5
commit c1630b5729

View File

@ -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",