Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ui/app
diff options
context:
space:
mode:
authorMiks Kronkalns <miks.kronkalns@zabbix.com>2021-06-10 10:42:41 +0300
committerMiks Kronkalns <miks.kronkalns@zabbix.com>2021-06-10 10:42:41 +0300
commit28ed66f55bcde8b42c585abe90f1f55a2bab50cd (patch)
tree7bfb8fcbd5f5e924ff31a9badc9fa31c5978d185 /ui/app
parentcec5412ea4dcd291911efd1554d1a67fb795c791 (diff)
parent6f3b3d67f4537bbe09c7a5540f571bd13d28173b (diff)
..F....... [ZBX-19262] fixed tag space trimming in mass update popup
Merge in ZBX/zabbix from feature/ZBX-19262-5.4 to release/5.4 * commit '6f3b3d67f4537bbe09c7a5540f571bd13d28173b': .D........ [ZBX-19262] fixed changelog ..F....... [ZBX-19262] fixed tag trailing space trimming in mass update popup
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/views/js/popup.massupdate.js.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/views/js/popup.massupdate.js.php b/ui/app/views/js/popup.massupdate.js.php
index 718b97420de..ab3f70b199f 100644
--- a/ui/app/views/js/popup.massupdate.js.php
+++ b/ui/app/views/js/popup.massupdate.js.php
@@ -427,6 +427,10 @@ function submitPopup(overlay) {
$(form).trimValues(['[name^="valuemap_rename["]']);
}
+ if (form.querySelector('#visible_tags:checked')) {
+ $(form).trimValues(['[name^="tags"][name$="[tag]"]', '[name^="tags"][name$="[value]"]']);
+ }
+
if (action == 'popup.massupdate.host') {
// Depending on checkboxes, create a value for hidden field 'tls_accept'.
let tls_accept = 0x00;