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:
alfred.peng@sun.com 2007-04-05 02:59:20 -07:00
Родитель 12f725d292
Коммит 9209b524ef
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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);