Bug 762824 - Move Bookmark stopped working. r=Neil a=Ratty
authorJens Hatlak <jh@junetz.de>
Fri, 08 Jun 2012 15:43:43 +0200
changeset 30803 973c61c272654387f1fbb4dabc92b1427586ca6b
parent 30802 75d3140a0856e63ceec9e00cce3824e1196669fe
child 30807 2c8a2f8ff9d8a6cd9673eba104923c988a1067c5
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, Ratty
bugs762824
Bug 762824 - Move Bookmark stopped working. r=Neil a=Ratty
suite/common/bookmarks/moveBookmarks.js
--- a/suite/common/bookmarks/moveBookmarks.js
+++ b/suite/common/bookmarks/moveBookmarks.js
@@ -62,19 +62,19 @@ var gMoveBookmarksDialog = {
     var selectedFolderID = PlacesUtils.getConcreteItemId(selectedNode);
 
     var transactions = [];
     for (var i=0; i < this._nodes.length; i++) {
       // Nothing to do if the node is already under the selected folder
       if (this._nodes[i].parent.itemId == selectedFolderID)
         continue;
 
-      let txn = PlacesMoveItemTransaction(this._nodes[i].itemId,
-                                          selectedFolderID,
-                                          PlacesUtils.bookmarks.DEFAULT_INDEX);
+      let txn = new PlacesMoveItemTransaction(this._nodes[i].itemId,
+                                              selectedFolderID,
+                                              PlacesUtils.bookmarks.DEFAULT_INDEX);
       transactions.push(txn);
     }
 
     if (transactions.length != 0) {
       let txn = new PlacesAggregatedTransaction("Move Items", transactions);
       PlacesUtils.transactionManager.doTransaction(txn);
     }
   },