From bfab06b13f8f5c808759a95c1c14be1d6eff6df8 Mon Sep 17 00:00:00 2001 From: "sspitzer@mozilla.org" Date: Fri, 14 Dec 2007 10:04:38 -0800 Subject: [PATCH] fix for bug #408322: right click, "bookmark this link" doesn't bookmark the link patch=Phil Ringnalda r=sspitzer a=beltzner --- browser/base/content/browser-places.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/browser-places.js b/browser/base/content/browser-places.js index d0705bdb5ae..960aadfe477 100644 --- a/browser/base/content/browser-places.js +++ b/browser/base/content/browser-places.js @@ -236,7 +236,7 @@ var PlacesCommandHook = { var itemId = PlacesUtils.getMostRecentBookmarkForURI(linkURI); if (itemId == -1) { var txn = PlacesUtils.ptm.createItem(linkURI, aParent, -1, aTitle); - PlacesUtils.ptm.commitTransaction(txn); + PlacesUtils.ptm.doTransaction(txn); itemId = PlacesUtils.getMostRecentBookmarkForURI(linkURI); }