Added code to allow users to identify the configuration along with filename

This commit is contained in:
racham%netscape.com 1998-10-08 06:45:35 +00:00
Родитель 34787767a3
Коммит b6deebf4d0
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -102,9 +102,9 @@ function fillSelectListWithConfigFiles(formName, selectListName, fileSuffix, off
curConfigDescription = parent.iasglobals.GetNameValuePair(fileList[i], "Dial-In Configuration", "Description");
if ((curConfigName != null) && (curConfigName != ""))
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigName,fileList[i], false, false);
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigName + "( " + fileList[i] + ")",fileList[i], false, false);
else if ((curConfigDescription != null) && (curConfigDescription != ""))
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigDescription,fileList[i], false, false);
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigDescription + "( " + fileList[i] + ")",fileList[i], false, false);
else
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(fileList[i],fileList[i], false, false);

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

@ -116,9 +116,9 @@ function fillSelectListWithConfigFiles(formName, selectListName, fileSuffix, off
curConfigDescription = parent.nciglobals.GetNameValuePair(fileList[i], "Dial-In Configuration", "Description");
if ((curConfigName != null) && (curConfigName != ""))
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigName,fileList[i], false, false);
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigName + " (" + fileList[i] + ")",fileList[i], false, false);
else if ((curConfigDescription != null) && (curConfigDescription != ""))
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigDescription,fileList[i], false, false);
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(curConfigDescription + " (" + fileList[i] +")",fileList[i], false, false);
else
document[formName][selectListName].options[document[formName][selectListName].length] = new Option(fileList[i],fileList[i], false, false);