about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-01-26 12:16:32 -0600
committerFrederick Muriuki Muriithi2026-01-26 12:45:11 -0600
commitc3672604341ecd1725765b631ad28229dd5167ef (patch)
treebb2b2a5e6abc39c1a177b8488ac8aaa21916a406 /uploader/templates
parent8bfc210f23b25431d7476cc4fcabbf52a46748c7 (diff)
downloadgn-uploader-c3672604341ecd1725765b631ad28229dd5167ef.tar.gz
Remove commented out proof-of-concept code.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/confirm-delete-phenotypes.html40
1 files changed, 0 insertions, 40 deletions
diff --git a/uploader/templates/phenotypes/confirm-delete-phenotypes.html b/uploader/templates/phenotypes/confirm-delete-phenotypes.html
index efce397..95098f7 100644
--- a/uploader/templates/phenotypes/confirm-delete-phenotypes.html
+++ b/uploader/templates/phenotypes/confirm-delete-phenotypes.html
@@ -93,21 +93,6 @@
                   });
               }
           });
-      // var dt = new DataTable("#tbl-delete-phenotypes", {
-      //     responsive: true,
-      //     select: {
-      //         style: "os",
-      //         info: false
-      //     },
-      //     initComplete: function(setting, json) {
-      //         console.debug("Running page init...");
-      //         this.api().rows().select();
-      //         this.api().rows().nodes().each((node, index) => {
-      //             $(node).find('input[type="checkbox"]:not(:checked)')
-      //                 .prop("checked", true);
-      //         })
-      //     }
-      // });
 
       $("#btn-select-all-phenotypes").on("click", function(event) {
           dt.selectAll();
@@ -116,31 +101,6 @@
       $("#btn-deselect-all-phenotypes").on("click", function(event) {
           dt.deselectAll();
       });
-
-      // dt.on("select", (event, datatable, type, indexes) => {
-      //     console.debug("this got called...");
-      //     datatable.rows(indexes)
-      //         .nodes()
-      //         .each(function(node, index) {
-      //             $(node).find('input[type="checkbox"]:not(:checked)')
-      //                 .prop("checked", true);
-      //         });
-      // });
-
-      // dt.on("deselect", (event, datatable, type, indexes) => {
-      //     datatable.rows(indexes)
-      //         .nodes()
-      //         .each(function(node, index) {
-      //             $(node).find('input[type="checkbox"]:checked')
-      //                 .prop("checked", false);
-      //         });
-      // });
-
-      // dt.on("deselect", (event, datatable, type, cell, originalEvent) => {
-      //     datatable.rows({selected: false}).nodes().each((node, index) => {
-      //         $(node).find(".chk-row-select").prop("checked", false)
-      //     });
-      // });
   });
 </script>
 {%endblock%}