diff options
author | Frederick Muriuki Muriithi | 2025-03-10 12:32:54 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-03-10 12:32:54 -0500 |
commit | c6cf301278f1c1bc530d139d134e3c766aa10a3f (patch) | |
tree | c7194cfefc9e4cbfff288b8028ed45473543c3f6 /uploader | |
parent | 144feac1b4980a3a5346afd9843f41426c6d33d9 (diff) | |
download | gn-uploader-c6cf301278f1c1bc530d139d134e3c766aa10a3f.tar.gz |
Add utility to set up common DataTables events handlers.
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/static/js/datatables.js | 6 |
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); +} |