зеркало из https://github.com/mozilla/gecko-dev.git
Quick fix to the RSS, when you change the page, the browser.feed go away.
This commit is contained in:
Родитель
535f355882
Коммит
3caa8094f5
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче