]> git.wh0rd.org - tt-rss.git/commitdiff
cleanup title even if refetch_callback failed
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Feb 2006 04:34:15 +0000 (05:34 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Feb 2006 04:34:15 +0000 (05:34 +0100)
tt-rss.js

index 6e2778882ccf761381d81dbade729ebce2adddbe..0e71c0ecd97b5fe4fbc343402ad5680840a936fc 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -110,6 +110,7 @@ function refetch_callback() {
        
                        if (!reply) {
                                notify("refetch_callback: backend did not return expected XML object");
+                               updateTitle("");
                                return;
                        } 
        
@@ -127,6 +128,7 @@ function refetch_callback() {
                        notify("All feeds updated.");
                } catch (e) {
                        exception_error("refetch_callback", e);
+                       updateTitle("");
                }
        }
 }