Bug 423461 Warning: assignment to undeclared variable syncNeeded r=dolske a=dsicore

This commit is contained in:
timeless@mozdev.org 2008-03-19 14:12:15 -07:00
Родитель 6b133c4bbc
Коммит d93d97b254
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -126,7 +126,7 @@ function SignonSelected() {
}
function DeleteSignon() {
syncNeeded = (signonsTreeView._filterSet.length != 0);
var syncNeeded = (signonsTreeView._filterSet.length != 0);
DeleteSelectedItemFromTree(signonsTree, signonsTreeView,
signonsTreeView._filterSet.length ? signonsTreeView._filterSet : signons,
deletedSignons, "removeSignon", "removeAllSignons");
@ -146,7 +146,7 @@ function DeleteAllSignons() {
null, null, null, null, dummy) == 1) // 1 == "No" button
return;
syncNeeded = (signonsTreeView._filterSet.length != 0);
var syncNeeded = (signonsTreeView._filterSet.length != 0);
DeleteAllFromTree(signonsTree, signonsTreeView,
signonsTreeView._filterSet.length ? signonsTreeView._filterSet : signons,
deletedSignons, "removeSignon", "removeAllSignons");