зеркало из https://github.com/mozilla/pjs.git
Bug 361030. Bookmarks refresh problem due to JS error code. r=sspitzer/jminta
This commit is contained in:
Родитель
12ddf1a155
Коммит
8642700e20
|
@ -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();
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче