Quick fix to the RSS, when you change the page, the browser.feed go away.

This commit is contained in:
mgalli%geckonnection.com 2005-11-22 04:23:43 +00:00
Родитель 535f355882
Коммит 3caa8094f5
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -96,6 +96,12 @@ nsBrowserStatusHandler.prototype =
if (aStateFlags & nsIWebProgressListener.STATE_START)
{
if(aRequest && aWebProgress.DOMWindow == content) {
this.startDocumentLoad(aRequest);
}
this.stopreloadButton.className = "stop-button";
this.stopreloadButton.command = "cmd_BrowserStop";
@ -173,7 +179,10 @@ nsBrowserStatusHandler.prototype =
onStatusChange : function(aWebProgress, aRequest, aStatus, aMessage)
{
},
startDocumentLoad : function(aRequest)
{
getBrowser().mCurrentBrowser.feeds = null;
},
onSecurityChange : function(aWebProgress, aRequest, aState)
{
/* Color is temporary. We shall dynamically assign a new class to the element and or to