329956 - add bookmark button on toolbar no longer works. r=joe@retrovirus.com
git-svn-id: svn://10.0.0.236/trunk@192112 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -6411,10 +6411,10 @@ var PlacesCommandHook = {
|
||||
var currentURI = getBrowser().selectedBrowser.webNavigation.currentURI;
|
||||
var bms = PlacesController.bookmarks;
|
||||
if (bms.isBookmarked(currentURI)) {
|
||||
this.showBookmarkProperties();
|
||||
PlacesController.showBookmarkProperties(currentURI);
|
||||
} else {
|
||||
bms.insertItem(bms.bookmarksRoot, currentURI, -1);
|
||||
this._updateControlStates();
|
||||
this.updateTagButton();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user