summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-07 04:17:24 +0100
committerAndrew Dolgov <[email protected]>2008-08-07 04:17:24 +0100
commit143a497306aea0198c1dae4c03ac8ca344e37f55 (patch)
tree5041e1b56530c9b6a75fd409e90b0d29b7b1f9f1 /functions.js
parent8df9005793f1faad35022509a4a3d1ddfe63c2aa (diff)
dialog layout tweaks
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions.js b/functions.js
index 17aaa238f..dd7f51ea6 100644
--- a/functions.js
+++ b/functions.js
@@ -1506,18 +1506,18 @@ function filterDlgCheckAction(sender) {
return;
}
- var action_param = form.action_param;
+ var action_param = document.getElementById("filter_dlg_param_box");
if (!action_param) {
- debug("filterDlgCheckAction: can't find action param!");
+ debug("filterDlgCheckAction: can't find action param box!");
return;
}
// if selected action supports parameters, enable params field
if (action == 4 || action == 6) {
- action_param.disabled = false;
+ Element.show(action_param);
} else {
- action_param.disabled = true;
+ Element.hide(action_param);
}
} catch (e) {