Module: check_mk
Branch: master
Commit: b90bdbda3d798c9627925c73c1c627f908d9916f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b90bdbda3d798c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 18 12:05:38 2015 +0100
Fixed showing/hiding of dependent fields on edit host page
---
web/htdocs/js/wato.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index d71c54f..adf4e68 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -199,10 +199,11 @@ function wato_fix_visibility() {
}
// FIXME: use generic identifier for each form
- var available_forms = [ "form_edithost", "form_editfolder",
"form_bulkedit" ];
+ var available_forms = [ "form_edit_host", "form_editfolder" ];
for (var try_form = 0; try_form < available_forms.length; try_form++) {
var my_form = document.getElementById(available_forms[try_form]);
if (my_form != null) {
+ console.log("xx" + available_forms[try_form]);
for (var child in my_form.childNodes){
oTr = my_form.childNodes[child];
if (oTr.className == "nform"){