aboutsummaryrefslogtreecommitdiff
path: root/uploader/static
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-03-10 12:32:54 -0500
committerFrederick Muriuki Muriithi2025-03-10 12:32:54 -0500
commitc6cf301278f1c1bc530d139d134e3c766aa10a3f (patch)
treec7194cfefc9e4cbfff288b8028ed45473543c3f6 /uploader/static
parent144feac1b4980a3a5346afd9843f41426c6d33d9 (diff)
downloadgn-uploader-c6cf301278f1c1bc530d139d134e3c766aa10a3f.tar.gz
Add utility to set up common DataTables events handlers.
Diffstat (limited to 'uploader/static')
-rw-r--r--uploader/static/js/datatables.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/uploader/static/js/datatables.js b/uploader/static/js/datatables.js
index ff7a680..8d54a84 100644
--- a/uploader/static/js/datatables.js
+++ b/uploader/static/js/datatables.js
@@ -49,3 +49,9 @@ var dtAddRowClickHandler = (tableId) => {
});
});
};
+
+
+var dtAddCommonHandlers = (tableId) => {
+ dtAddRowSelectionHandler(tableId);
+ dtAddRowClickHandler(tableId);
+}