Bug 1387409 - Port bug 1386540 to SeaMonkey. Replace addLazyBookmarkObserver with a standard observer. rs=bustage-fix
This commit is contained in:
Родитель
0734ecbf5b
Коммит
2493ab29bf
|
@ -738,7 +738,7 @@ var PlacesStarButton = {
|
|||
// Start observing bookmarks if needed.
|
||||
if (!this._hasBookmarksObserver) {
|
||||
try {
|
||||
PlacesUtils.addLazyBookmarkObserver(this);
|
||||
PlacesUtils.bookmarks.addObserver(this);
|
||||
this._hasBookmarksObserver = true;
|
||||
} catch (ex) {
|
||||
Components.utils.reportError("BookmarkingUI failed adding a bookmarks observer: " + ex);
|
||||
|
|
Загрузка…
Ссылка в новой задаче