1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00

[Web] domain/mailbox tagging check for empty tags

This commit is contained in:
FreddleSpl0it 2022-05-06 08:30:15 +02:00
parent f40e682800
commit dfdd2dadb4
No known key found for this signature in database
GPG Key ID: F1B3BE8A3BBA3451

View File

@ -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());