WIP replace jQuery-ui dnd with HTML5 dnd

This commit is contained in:
Hadi Nategh
2022-05-17 15:01:11 +02:00
parent 17d2e2cb5c
commit b956f1f28d
3 changed files with 234 additions and 315 deletions

View File

@ -358,11 +358,8 @@ window.egw_fw_ui_tab = function(_parent, _contHeaderDiv, _contDiv, _icon, _callb
// If dragging something over the tab, activate that app
var tab = this.headerDiv;
jQuery(this.headerDiv).droppable({
tolerance:"pointer",
over: function() {
this.headerDiv.addEventListener('dragenter', (event) => {
tab._callbackObject.call(tab);
}
});