]> git.wh0rd.org Git - tt-rss.git/commitdiff
article_callback: enable error message when could not receive content
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 03:39:05 +0000 (04:39 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 May 2007 03:39:05 +0000 (04:39 +0100)
viewfeed.js

index 27af8c08edc4d66c30d45f33d8422758d30ca847..abf483e213d8845bd9cc7b061e5a553b1ba2839e 100644 (file)
@@ -132,8 +132,8 @@ function article_callback() {
                        
                        } else {
                                debug("article_callback: returned no XML object");
-                               /* var f = document.getElementById("content-frame");
-                               f.innerHTML = "<div class='whiteBox'>" + __('Could not display article (missing XML object)') + "</div>"; */
+                               var f = document.getElementById("content-frame");
+                               f.innerHTML = "<div class='whiteBox'>" + __('Could not display article (missing XML object)') + "</div>";
                        }
                } catch (e) {
                        exception_error("article_callback", e);