Bug 361030. Bookmarks refresh problem due to JS error code. r=sspitzer/jminta

git-svn-id: svn://10.0.0.236/trunk@216833 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sayrer%gmail.com
2006-12-10 22:40:39 +00:00
parent 3713dfee3b
commit eba310c07d

View File

@@ -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<aSelection.length; ++i) {
@@ -1762,7 +1762,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.endUpdateBatch();
},