bug 407116: prevent RSS icon from disappearing when page contains subframes that don't reference RSS feeds; r=mconnor

This commit is contained in:
myk@mozilla.org 2008-01-02 13:14:55 -08:00
Родитель aa46adf459
Коммит ee8223bd29
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -457,7 +457,9 @@
this.pageReport = null;
this.updatePageReport();
}
if (this.feeds)
// Delete the feeds cache if we're hiding the topmost page
// (as opposed to one of its iframes).
if (this.feeds && event.target == this.contentDocument)
this.feeds = null;
if (!this.docShell || !this.fastFind)
return;