mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix in mobile theme not able to dismiss the context menu:
- touch and open entries and swip (left/right) over any rows on the next match list will dismiss the context menu
This commit is contained in:
parent
52b4856a18
commit
212e98ccdb
@ -77,6 +77,8 @@ function et2_dataview_rowAOI(_node)
|
|||||||
case "left":
|
case "left":
|
||||||
case "right":
|
case "right":
|
||||||
state = 1;
|
state = 1;
|
||||||
|
// Hide context menu on swip actions
|
||||||
|
if(_egw_active_menu) _egw_active_menu.hide();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +108,7 @@ function et2_dataview_rowAOI(_node)
|
|||||||
click: function (event)
|
click: function (event)
|
||||||
{
|
{
|
||||||
selectHandler(event);
|
selectHandler(event);
|
||||||
},
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -150,6 +150,9 @@ function egwPopupActionImplementation()
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.cancelBubble = true;
|
e.cancelBubble = true;
|
||||||
|
|
||||||
|
// remove context menu if we are in mobile theme
|
||||||
|
// and intended to open the entry
|
||||||
|
if (_egw_active_menu && e.which == 1) _egw_active_menu.hide();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user