move function

This commit is contained in:
chfhtw
2025-09-11 13:11:34 +02:00
parent 86bbfe42db
commit 112211fb0b
@@ -284,6 +284,12 @@ export default {
} else
this.$refs.table.tabulator.setData(endpoint.url, params);
},
dragCleanup(evt) {
if (evt.dataTransfer.dropEffect == 'none')
return; // aborted or wrong target
this.$reloadList();
},
onKeydown(e) { // TODO(chris): this should be in the filter component
if (!this.focusObj)
return;
@@ -344,12 +350,6 @@ export default {
if (el != this.focusObj)
this.changeFocus(this.focusObj, el);
}
},
dragCleanup(evt) {
if (evt.dataTransfer.dropEffect == 'none')
return; // aborted or wrong target
this.$reloadList();
}
},
// TODO(chris): focusin, focusout, keydown and tabindex should be in the filter component