#47368 unpredefined languages entry should appears in accepted languages list once selected

ra=ftang
forgot a code path in previous checkin.
This commit is contained in:
shanjian%netscape.com 2000-09-14 20:01:53 +00:00
Родитель ed8364faab
Коммит e171c0c0e2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -320,6 +320,8 @@ function AddAvailableLanguage()
Languageid = otherField.value; Languageid = otherField.value;
Languageid = Languageid.toLowerCase(); Languageid = Languageid.toLowerCase();
Languagename = GetLanguageTitle(Languageid); Languagename = GetLanguageTitle(Languageid);
if (!Languagename)
Languagename = '[' + Languageid + ']';
already_active = false; already_active = false;
if (!LangAlreadyActive(Languageid)) { if (!LangAlreadyActive(Languageid)) {