diff options
author | Andrew Dolgov <[email protected]> | 2006-12-08 09:05:21 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-12-08 09:05:21 +0100 |
commit | 350f0ad1859b5b530840b4610a2a30bcb3cdbb5f (patch) | |
tree | dd36bd6efb1b679102003977b5292583f8b2a9bf /prefs.js | |
parent | df74052f1e93435b50233ce33d1f4fd27e795690 (diff) |
move filterDlgCheckAction() to functions.js
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -1549,39 +1549,4 @@ function showFeedsWithErrors() { displayDlg('feedUpdateErrors'); } -function filterDlgCheckAction(sender) { - try { - - var action = sender[sender.selectedIndex].value; - - var form = document.forms["filter_add_form"]; - - if (!form) { - form = document.forms["filter_edit_form"]; - } - - if (!form) { - debug("filterDlgCheckAction: can't find form!"); - return; - } - - var action_param = form.action_param; - - if (!action_param) { - debug("filterDlgCheckAction: can't find action param!"); - return; - } - - // if selected action supports parameters, enable params field - if (action == 4) { - action_param.disabled = false; - } else { - action_param.disabled = true; - } - - } catch (e) { - exception_error(e, "filterDlgCheckAction"); - } - -} |