зеркало из https://github.com/mozilla/pjs.git
Bug 357243. Can not add certain item into cookie "Exceptions" list after clicking "Remove All Sites".Patch by Jia-Qin.Shi@Sun.COM. r=mano.
This commit is contained in:
Родитель
9fa2961884
Коммит
1e0af2d022
|
@ -41,7 +41,7 @@ var gTreeUtils = {
|
||||||
{
|
{
|
||||||
for (var i = 0; i < aItems.length; ++i)
|
for (var i = 0; i < aItems.length; ++i)
|
||||||
aDeletedItems.push(aItems[i]);
|
aDeletedItems.push(aItems[i]);
|
||||||
aItems = [];
|
aItems.splice(0);
|
||||||
var oldCount = aView.rowCount;
|
var oldCount = aView.rowCount;
|
||||||
aView._rowCount = 0;
|
aView._rowCount = 0;
|
||||||
aTree.treeBoxObject.rowCountChanged(0, -oldCount);
|
aTree.treeBoxObject.rowCountChanged(0, -oldCount);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче