327383 - corrupt UI/bookmarks bar/all sorts of wackiness due to bug in bookmarks import. clear out frame's feed uri state when a new link is encountered r=brettw a=dbaron

This commit is contained in:
beng%bengoodger.com 2006-02-16 05:00:36 +00:00
Родитель 85b3ec0642
Коммит 316e59b25d
2 изменённых файлов: 5 добавлений и 0 удалений

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

@ -208,6 +208,8 @@
"Star (Off)">
<!ENTITY location.status.bookmarked
"Star (On)">
<!ENTITY location.status.bookmark.tooltip
"Add a Bookmark to this page">
<!ENTITY bookmark.property.panel.title
"Bookmark Properties">
<!ENTITY bookmark.property.title

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

@ -558,6 +558,9 @@ BookmarkContentSink::HandleLinkBegin(const nsIParserNode& node)
{
BookmarkImportFrame& frame = CurFrame();
// We need to make sure that the feed URIs from previous frames are emptied.
frame.mPreviousFeed = nsnull;
// mPreviousText will hold our link text, clear it so that can be appended to
frame.mPreviousText.Truncate();