[Web] Remove 36f296d9d6, fixes #3926

master
andryyy 2021-01-12 20:54:43 +01:00
parent d3f2755399
commit 39f1b0368e
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 0 additions and 12 deletions

View File

@ -125,18 +125,6 @@ $(document).ready(function() {
}
});
});
// Add Mailbox Modal
var addMailboxModalShown = false;
$('#addMailboxModal').on('show.bs.modal', function(e) {
if (addMailboxModalShown) {
return;
}
addMailboxModalShown = true;
var $domainSelect = $("#mailbox_table select");
if ($domainSelect[0].selectedIndex > 0) { // not "All Domains"
$("#addSelectDomain").val($domainSelect.val()).change().selectpicker("render");
}
});
// Log modal
$('#dnsInfoModal').on('show.bs.modal', function(e) {
var domain = $(e.relatedTarget).data('domain');