mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +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;
|
||||
|
||||
#ifdef MOZ_PLACES_BOOKMARKS
|
||||
var uri = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Ci.nsIIOService)
|
||||
.newURI(node.uri, null, null);
|
||||
PlacesController.showAddBookmarkUI(uri, node.title);
|
||||
PlacesUtils.showAddBookmarkUI(PlacesUtils._uri(node.uri), node.title);
|
||||
#else
|
||||
BookmarksUtils.addBookmark(node.uri, node.title, undefined);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user