fix for #16119. this variable is not defined out of the scope of the loop, so

it was undefined.
This commit is contained in:
sspitzer%netscape.com 1999-11-01 21:51:16 +00:00
Родитель 07b2dec9fa
Коммит bc951583c1
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -56,6 +56,8 @@ function GetFields()
{
var profName = document.getElementById("ProfileName").value;
var profDir = document.getElementById("ProfileDir");
var profDirContent;
for(var i = 0; i < profDir.attributes.length; i++)
{
// this is just an awful, bad, terrible hack. I shouldn't have to do this