From 8642700e20143ef97ab064734e730507054da40b Mon Sep 17 00:00:00 2001 From: "sayrer%gmail.com" Date: Sun, 10 Dec 2006 22:40:39 +0000 Subject: [PATCH] Bug 361030. Bookmarks refresh problem due to JS error code. r=sspitzer/jminta --- browser/components/bookmarks/content/bookmarks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/browser/components/bookmarks/content/bookmarks.js b/browser/components/bookmarks/content/bookmarks.js index d0d61974912..01861ec5dd3 100644 --- a/browser/components/bookmarks/content/bookmarks.js +++ b/browser/components/bookmarks/content/bookmarks.js @@ -1621,7 +1621,7 @@ var BookmarksUtils = { { if (aSelection.length > 1) gBkmkTxnSvc.startBatch(); - if (aSelection.length > this.BATCH_LIMIT && aAction != "move") + if (aSelection.length > kBATCH_LIMIT && aAction != "move") BMDS.beginUpdateBatch(); for (var i = 0; i < aSelection.length; ++i) { @@ -1660,7 +1660,7 @@ var BookmarksUtils = { } if (aSelection.length > 1) gBkmkTxnSvc.endBatch(); - if (aSelection.length > this.BATCH_LIMIT && aAction != "move") + if (aSelection.length > kBATCH_LIMIT && aAction != "move") BMDS.beginUpdateBatch(); return true; }, @@ -1727,7 +1727,7 @@ var BookmarksUtils = { if (aSelection.length > 1) gBkmkTxnSvc.startBatch(); - if (aSelection.length > this.BATCH_LIMIT && aAction != "move") + if (aSelection.length > kBATCH_LIMIT && aAction != "move") BMDS.beginUpdateBatch(); for (var i=0; i 1) gBkmkTxnSvc.endBatch(); - if (aSelection.length > this.BATCH_LIMIT && aAction != "move") + if (aSelection.length > kBATCH_LIMIT && aAction != "move") BMDS.endUpdateBatch(); },