зеркало из https://github.com/mozilla/pjs.git
#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:
Родитель
ed8364faab
Коммит
e171c0c0e2
|
@ -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)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче