Fix Limiting domains (related to #773)

pull/774/head
Ozzie Isaacs 6 years ago committed by GitHub
parent f4977c3767
commit cc618ecee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,7 +41,7 @@ $(function() {
}); });
//triggered when modal is about to be shown //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 //get data-id attribute of the clicked element and store in button
var domainId = $(e.relatedTarget).data("domain-id"); var domainId = $(e.relatedTarget).data("domain-id");
$(e.currentTarget).find("#btndeletedomain").data("domainId", domainId); $(e.currentTarget).find("#btndeletedomain").data("domainId", domainId);

Loading…
Cancel
Save