From dd0c1438de84dcc3f0cc18f1c0134e473e19a7b3 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 26 Feb 2020 13:58:41 +0100 Subject: [PATCH] [Web] Allow empty bcc when saving quarantine settings, fixes #3363 --- data/web/js/build/012-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/js/build/012-api.js b/data/web/js/build/012-api.js index 6555a8cd..17cf6542 100644 --- a/data/web/js/build/012-api.js +++ b/data/web/js/build/012-api.js @@ -103,7 +103,7 @@ $(document).ready(function() { $(this).removeClass('inputMissingAttr'); } } - if ($(this).attr("type") == 'email') { + if ($(this).val() && $(this).attr("type") == 'email') { if (!validateEmail($(this).val())) { invalid = true; $(this).addClass('inputMissingAttr');