Add WebUI support for triggering context menus on mobile

This commit is contained in:
Thomas Piccirello 2019-07-16 02:21:36 -07:00
parent f441d561a2
commit 6af01cfcbe
2 changed files with 24 additions and 1 deletions

View file

@ -706,6 +706,13 @@ var DynamicTable = new Class({
}
return false;
});
tr.addEvent('touchstart', function(e) {
if (!this._this.isRowSelected(this.rowId)) {
this._this.deselectAll();
this._this.selectRow(this.rowId);
}
return false;
});
this.setupTr(tr);