]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
new style labels (bump schema)
[tt-rss.git] / functions.js
index 034e463d1933105e5cffdc06d9f916bb407f2759..cb38ff37d8f37b18be4de64a0ce8e40c3999463e 100644 (file)
@@ -1557,8 +1557,15 @@ function filterDlgCheckAction(sender) {
                }
 
                // if selected action supports parameters, enable params field
-               if (action == 4 || action == 6) {
+               if (action == 4 || action == 6 || action == 7) {
                        Element.show(action_param);
+                       if (action != 7) {
+                               Element.show(form.action_param);
+                               Element.hide(form.action_param_label);
+                       } else {
+                               Element.show(form.action_param_label);
+                               Element.hide(form.action_param);
+                       }
                } else {
                        Element.hide(action_param);
                }