]> git.wh0rd.org - tt-rss.git/commitdiff
more notify() integration
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 Aug 2005 09:27:32 +0000 (10:27 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 22 Aug 2005 09:27:32 +0000 (10:27 +0100)
backend.php
tt-rss.js

index 0ff9793ad1a1b88a3878acb3fb1579bc120bde09..c9ca89053e2c68e59c52ef7a797d2fa075f1fbf0 100644 (file)
 
                print "<table class=\"headlines\" width=\"100%\">";
 
-               print "<tr><td class=\"search\" colspan=\"2\">
+               print "<tr><td class=\"search\" colspan=\"3\">
                        Search: <input onchange=\"javascript:search($feed,this);\"></td></tr>"; 
                print "<tr><td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>"; 
 
index d7959037d74c47e509f7184f8dd59710bcbea9e3..788750afa4bcd1bb2865691778fc9ace104ca3ad 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -68,7 +68,10 @@ function viewfeed_callback() {
                        }
 
                }
-       }
+
+               notify("");
+
+       }       
 }
 
 function view_callback() {
@@ -109,14 +112,16 @@ function catchupAllFeeds() {
 
 function viewfeed(feed, skip, subop) {
 
-       document.getElementById('headlines').innerHTML='Loading headlines, please wait...';             
-       document.getElementById('content').innerHTML='&nbsp;';          
+//     document.getElementById('headlines').innerHTML='Loading headlines, please wait...';             
+//     document.getElementById('content').innerHTML='&nbsp;';          
 
        xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) +
                "&skip=" + param_escape(skip) + "&subop=" + param_escape(subop) , true);
        xmlhttp.onreadystatechange=viewfeed_callback;
        xmlhttp.send(null);
 
+       notify("Loading headlines...");
+
 }
 
 function view(id,feed_id) {