mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-29 22:33:01 +00:00
Fix Limiting domains (related to #773)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user