Bug 664673 - properly declare arrayIndex. r=neil

--HG--
extra : rebase_source : 1289e8c8e4ac0bfe5d3131f8ef7c271916782f8b
This commit is contained in:
Dão Gottwald 2011-06-16 12:50:56 +02:00
parent e87fb91e76
commit 454989c7f1

View File

@ -232,7 +232,8 @@ var gPrefListener =
if (/^capability\./.test(prefName)) // avoid displaying "private" preferences
return;
var viewIndex = arrayIndex = gPrefArray.length;
var arrayIndex = gPrefArray.length;
var viewIndex = arrayIndex;
var selectedIndex = view.selection.currentIndex;
var pref;
var updateView = false;