From 39f1b0368ecc3d4cb6bf7a35c8f65f5e0190a870 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 12 Jan 2021 20:54:43 +0100 Subject: [PATCH] [Web] Remove 36f296d9d63112db4218cef39f1eebc8a61c785d, fixes #3926 --- data/web/js/site/mailbox.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index cbf01935..68a5ad45 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -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');