Bug 365266 - Bookmark This Link in the history sidebar is broken in places-bookmarks-enabled builds. r=sspitzer.

This commit is contained in:
mozilla.mano%sent.com 2006-12-28 23:49:44 +00:00
parent bad3378cc1
commit bd0ccf88b0

View File

@ -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