mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Bug 365266 - Bookmark This Link in the history sidebar is broken in places-bookmarks-enabled builds. r=sspitzer.
This commit is contained in:
parent
bad3378cc1
commit
bd0ccf88b0
@ -229,10 +229,7 @@ function historyAddBookmarks()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
#ifdef MOZ_PLACES_BOOKMARKS
|
#ifdef MOZ_PLACES_BOOKMARKS
|
||||||
var uri = Components.classes["@mozilla.org/network/io-service;1"]
|
PlacesUtils.showAddBookmarkUI(PlacesUtils._uri(node.uri), node.title);
|
||||||
.getService(Ci.nsIIOService)
|
|
||||||
.newURI(node.uri, null, null);
|
|
||||||
PlacesController.showAddBookmarkUI(uri, node.title);
|
|
||||||
#else
|
#else
|
||||||
BookmarksUtils.addBookmark(node.uri, node.title, undefined);
|
BookmarksUtils.addBookmark(node.uri, node.title, undefined);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user