mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
unhork adding a new bookmark from the bookmarks manager
bug=337305 r=brettw sr=ben a=ben for 1.8 branch
This commit is contained in:
parent
a4c3347e8a
commit
e3cf80beef
@ -157,7 +157,7 @@ var MicrosummaryPicker = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
destroy: function MSP_destroy() {
|
destroy: function MSP_destroy() {
|
||||||
if (this._pageURI)
|
if (this._pageURI && this._microsummaries)
|
||||||
this._microsummaries.removeObserver(this._observer);
|
this._microsummaries.removeObserver(this._observer);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -647,7 +647,7 @@ var BookmarkPropertiesPanel = {
|
|||||||
* in the Bookmark Properties dialog.
|
* in the Bookmark Properties dialog.
|
||||||
*/
|
*/
|
||||||
dialogDone: function BPP_dialogDone() {
|
dialogDone: function BPP_dialogDone() {
|
||||||
if (this._isMicrosummaryVisible())
|
if (this._isMicrosummaryVisible() && this._microsummaries)
|
||||||
this._microsummaries.removeObserver(this._microsummaryObserver);
|
this._microsummaries.removeObserver(this._microsummaryObserver);
|
||||||
this._saveChanges();
|
this._saveChanges();
|
||||||
this._hideBookmarkProperties();
|
this._hideBookmarkProperties();
|
||||||
|
Loading…
Reference in New Issue
Block a user