]> git.wh0rd.org - tt-rss.git/blobdiff - js/functions.js
add img[align,hspace] attributes (closes #370)
[tt-rss.git] / js / functions.js
index 52201bd656af891c6220bb17f97899153ed35a5d..9b30bb302407b681e6e1c62ac18534a4014e5ef7 100644 (file)
@@ -296,12 +296,6 @@ function gotoMain() {
        document.location.href = "index.php";
 }
 
-function gotoExportOpml(filename, settings) {
-    tmp = settings ? 1 : 0;
-       document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp;
-}
-
-
 /** * @(#)isNumeric.js * * Copyright (c) 2000 by Sundar Dorai-Raj
   * * @author Sundar Dorai-Raj
   * * Email: sdoraira@vt.edu
@@ -565,6 +559,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 {