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
diff options
context:
space:
mode:
authorAndrejs Griščenko <andrejs.griscenko@zabbix.com>2022-06-16 09:22:09 +0300
committerAndrejs Griščenko <andrejs.griscenko@zabbix.com>2022-06-16 09:22:09 +0300
commitac59c7acbf54e4134e3c252fd4d97c550b11f2e4 (patch)
treec58b62eb26410656da7dd365568d156a9594a4d6
parent96944b40c653d838153d40416f3ed9d11bfdb945 (diff)
parentbfd293fa223d52725ddf073f4b76ac1dfbc25b69 (diff)
..F....... [ZBX-20847] fixed inability to attach any host groups after removing already attached ones
* commit 'bfd293fa223d52725ddf073f4b76ac1dfbc25b69': .D........ [ZBX-20847] added changelog file ..F....... [ZBX-20847] fixed inability to attach any host groups after removing already attached ones
-rw-r--r--ChangeLog.d/bugfix/ZBX-208471
-rw-r--r--ui/app/partials/js/configuration.host.edit.html.js.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.d/bugfix/ZBX-20847 b/ChangeLog.d/bugfix/ZBX-20847
new file mode 100644
index 00000000000..734154b6a52
--- /dev/null
+++ b/ChangeLog.d/bugfix/ZBX-20847
@@ -0,0 +1 @@
+..F....... [ZBX-20847] fixed inability to attach any host groups after removing already attached ones (agriscenko)
diff --git a/ui/app/partials/js/configuration.host.edit.html.js.php b/ui/app/partials/js/configuration.host.edit.html.js.php
index c102e0334bb..942ac098292 100644
--- a/ui/app/partials/js/configuration.host.edit.html.js.php
+++ b/ui/app/partials/js/configuration.host.edit.html.js.php
@@ -148,7 +148,7 @@
$groups_ms.on('change', (e) => {
$groups_ms.multiSelect('setDisabledEntries',
- [... document.querySelectorAll('[name^="groups["]')].map((input) => input.value)
+ [... this.form.querySelectorAll('[name^="groups["]')].map((input) => input.value)
);
});
},