Author: thomas.heute(a)jboss.com
Date: 2010-09-23 05:38:46 -0400 (Thu, 23 Sep 2010)
New Revision: 4325
Modified:
epp/portal/branches/EPP_5_1_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java
Log:
JBEPP-483: When creating a new user the default language shouldn't be filled (default
to Arabic)
Modified:
epp/portal/branches/EPP_5_1_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java 2010-09-23
09:35:27 UTC (rev 4324)
+++
epp/portal/branches/EPP_5_1_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserProfileInputSet.java 2010-09-23
09:38:46 UTC (rev 4325)
@@ -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