diff options
author | Andrew Dolgov <[email protected]> | 2011-12-27 12:52:33 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-27 12:57:38 +0400 |
commit | ba975b2ec7d20d1e841b1f9fdc1a571317aca3eb (patch) | |
tree | 4c80af67216087197bc077b4564ada5b327626c4 /js/functions.js | |
parent | b69a09ea07041c23e7a7add2fed6c03cb989174b (diff) |
implement filtering by category (closes #386)
Diffstat (limited to 'js/functions.js')
-rw-r--r-- | js/functions.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js index 52201bd65..a1c393918 100644 --- a/js/functions.js +++ b/js/functions.js @@ -565,6 +565,21 @@ function fatalError(code, msg, ext_info) { } } +function filterDlgCheckCat(sender) { + try { + if (sender.checked) { + Element.show('filterDlg_cats'); + Element.hide('filterDlg_feeds'); + } else { + Element.show('filterDlg_feeds'); + Element.hide('filterDlg_cats'); + } + + } catch (e) { + exception_error("filterDlgCheckCat", e); + } +} + function filterDlgCheckType(sender) { try { |