diff --git a/data/web/js/build/014-mailcow.js b/data/web/js/build/014-mailcow.js index bf7e78b11..dc550bb98 100644 --- a/data/web/js/build/014-mailcow.js +++ b/data/web/js/build/014-mailcow.js @@ -290,6 +290,7 @@ $(document).ready(function() { var tagValuesElem = $(tagboxElem).find(".tag-values")[0]; var tag = escapeHtml($(tagInputElem).val()); + if (!tag) return; var value_tags = []; try { value_tags = JSON.parse($(tagValuesElem).val());