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

This commit is contained in:
sayrer%gmail.com 2006-12-10 22:40:39 +00:00
Родитель 12ddf1a155
Коммит 8642700e20
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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();
},