Fix taphold context menu popup

This commit is contained in:
Hadi Nategh 2014-11-27 16:57:57 +00:00
parent 5bed0cdf77
commit 586656289d

View File

@ -256,7 +256,7 @@ function egwPopupActionImplementation()
{
_egw_active_menu.hide();
}
else if (!e.ctrlKey && e.which == 3)
else if (!e.ctrlKey && e.which == 3 || e.which === 0) // tap event indicates by 0
{
var _xy = ai._getPageXY(e);
_callback.call(_context, _xy, ai);