From 112211fb0bdfa455c3a53f92fd025a74406cf02c Mon Sep 17 00:00:00 2001 From: chfhtw Date: Thu, 11 Sep 2025 13:11:34 +0200 Subject: [PATCH] move function --- public/js/components/Stv/Studentenverwaltung/List.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/js/components/Stv/Studentenverwaltung/List.js b/public/js/components/Stv/Studentenverwaltung/List.js index 9e4cd4296..7c6f57f48 100644 --- a/public/js/components/Stv/Studentenverwaltung/List.js +++ b/public/js/components/Stv/Studentenverwaltung/List.js @@ -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