]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix category collapsing
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 11:43:26 +0000 (12:43 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 11:43:26 +0000 (12:43 +0100)
feedlist.js

index 91c3244844f296fea05867b2c4da3e9b67fea7a5..a8c1cd5c865b239b14770fa09c5bc97c12331986 100644 (file)
@@ -1,5 +1,3 @@
-//var xmlhttp = Ajax.getTransport();
-
 var _feed_cur_page = 0;
 var _infscroll_disable = 0;
 
@@ -9,12 +7,6 @@ function viewCategory(cat) {
        return false;
 }
 
-function feedlist_callback() {
-       if (xmlhttp.readyState == 4) {
-               feedlist_callback2(xmlhttp);
-       }
-}
-
 function feedlist_callback2(transport) {
        try {
                debug("feedlist_callback2");
@@ -176,10 +168,6 @@ function toggleCollapseCat_af(effect) {
 
 function toggleCollapseCat(cat) {
        try {
-               if (!xmlhttp_ready(xmlhttp)) {
-                       printLockingError();
-                       return;
-               }
        
                var cat_elem = document.getElementById("FCAT-" + cat);
                var cat_list = document.getElementById("FCATLIST-" + cat).parentNode;