From 555db0d5af8380c3d8dd0ec66b9a89aab763ad21 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Mon, 29 Apr 2024 11:45:08 +0200 Subject: [PATCH] fixes the selection of the tableUniqueID --- public/js/lehre/lehrauftrag/acceptLehrauftrag.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/lehre/lehrauftrag/acceptLehrauftrag.js b/public/js/lehre/lehrauftrag/acceptLehrauftrag.js index 7b803ef90..e259fdee2 100644 --- a/public/js/lehre/lehrauftrag/acceptLehrauftrag.js +++ b/public/js/lehre/lehrauftrag/acceptLehrauftrag.js @@ -455,9 +455,9 @@ $(function () { func_tableBuilt(tabulatorInstance); // using the tabulator instance instead of the jquery object because the site loads two different tabulator tables - console.log("instance",tabulatorInstance) + let uniqueTableID = - tabulatorInstance.element.parentElement.parentElement.parentElement.attributes + tabulatorInstance.element.parentElement.parentElement.attributes .tableUniqueId.value; switch (uniqueTableID) {