Author: ndkhoiits
Date: 2010-09-08 02:44:10 -0400 (Wed, 08 Sep 2010)
New Revision: 4078
Modified:
portal/branches/branch-r4047/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java
Log:
GTNPORTAL-1460 Set default language is empty when create new user
Modified:
portal/branches/branch-r4047/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java
===================================================================
---
portal/branches/branch-r4047/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java 2010-09-08
04:25:46 UTC (rev 4077)
+++
portal/branches/branch-r4047/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java 2010-09-08
06:44:10 UTC (rev 4078)
@@ -189,14 +189,12 @@
{
option.setSelected(true);
}
- if (config.getLanguage().equals("en"))
- {
- lang.add(0, option);
- continue;
- }
lang.add(option);
}
+ // Set default language for new user is empty
+ lang.add(new SelectItemOption<String>("", ""));
+
Collections.sort(lang, new LanguagesComparator());
langSelectBox.setOptions(lang);
Show replies by date