forked from extern/egroupware
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 "right":
|
||||
state = 1;
|
||||
// Hide context menu on swip actions
|
||||
if(_egw_active_menu) _egw_active_menu.hide();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -106,7 +108,7 @@ function et2_dataview_rowAOI(_node)
|
||||
click: function (event)
|
||||
{
|
||||
selectHandler(event);
|
||||
},
|
||||
}
|
||||
|
||||
});
|
||||
} else {
|
||||
|
@ -150,6 +150,9 @@ function egwPopupActionImplementation()
|
||||
e.stopPropagation();
|
||||
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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user