From cc618ecee7a375b28de3e3225b3438c52ec0ecda Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Tue, 15 Jan 2019 20:08:47 +0100 Subject: [PATCH] Fix Limiting domains (related to #773) --- cps/static/js/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/static/js/table.js b/cps/static/js/table.js index 6218d38b..4f038231 100644 --- a/cps/static/js/table.js +++ b/cps/static/js/table.js @@ -41,7 +41,7 @@ $(function() { }); //triggered when modal is about to be shown - $("#DeleteDomain").on("show.bs.modal" function(e) { + $("#DeleteDomain").on("show.bs.modal", function(e) { //get data-id attribute of the clicked element and store in button var domainId = $(e.relatedTarget).data("domain-id"); $(e.currentTarget).find("#btndeletedomain").data("domainId", domainId);