1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-18 04:31:29 +00:00

dialog layout tweaks

This commit is contained in:
Andrew Dolgov
2008-08-07 04:17:24 +01:00
parent 8df9005793
commit 143a497306
4 changed files with 29 additions and 26 deletions

View File

@@ -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) {