]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix uninitialized xmlhttprequest object in feedlist.js
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 31 Dec 2005 08:03:45 +0000 (09:03 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 31 Dec 2005 08:03:45 +0000 (09:03 +0100)
feedlist.js

index 048a24c80fd7ff31809fab66b50ccd83e88326d9..0276fd0e98775ae1c22e25d7b311ede3760d83d3 100644 (file)
@@ -9,14 +9,17 @@ try {
 } catch (e) {
        try {
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+               xmlhttp_rpc = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (E) {
                xmlhttp = false;
+               xmlhttp_rpc = false;
        }
 }
 @end @*/
 
 if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
        xmlhttp = new XMLHttpRequest();
+       xmlhttp_rpc = new XMLHttpRequest();
 }
 
 function viewfeed(feed, skip, subop, doc) {