Bug 374990 - Default insertion-point for a new item is passed as its default description. r=gavin.
authormozilla.mano@sent.com
Thu, 22 Mar 2007 18:34:28 -0700
changeset 20 babd194cb15dd9457bde6f3407117e47ac3a35f4
parent 19 dd29f1f988fc6eef141276e2c925f6b012ad013f
child 21 80a2d417f424407070f5057dd00eb9427077a451
push idunknown
push userunknown
push dateunknown
reviewersgavin
bugs374990
milestone1.9a3pre
Bug 374990 - Default insertion-point for a new item is passed as its default description. r=gavin.
browser/components/places/content/controller.js
--- a/browser/components/places/content/controller.js
+++ b/browser/components/places/content/controller.js
@@ -993,19 +993,19 @@ PlacesController.prototype = {
     var ip = this._view.insertionPoint;
     if (!ip)
       throw Cr.NS_ERROR_NOT_AVAILABLE;
 
     this._view.saveSelection(this._view.SAVE_SELECTION_INSERT);
     
     var performed = false;
     if (aType == "bookmark")
-      performed = PlacesUtils.showAddBookmarkUI(null, null, ip);
+      performed = PlacesUtils.showAddBookmarkUI(null, null, null, ip);
     else if (aType == "livemark")
-      performed = PlacesUtils.showAddLivemarkUI(null, null, null, ip);
+      performed = PlacesUtils.showAddLivemarkUI(null, null, null, null, ip);
     else // folder
       performed = PlacesUtils.showAddFolderUI(null, ip);
 
     if (performed)
       this._view.restoreSelection();
   },