Removes cache message. Makes selectors wider. Selects by default en_US demo-2.50MP23
authorAdrián Romero <adrianromero@openbravo.com>
Wed, 10 Nov 2010 17:52:28 +0100
changeset 8792 91937bcc3568
parent 8791 ab7292517129
child 8793 9f669281eabf
Removes cache message. Makes selectors wider. Selects by default en_US
src/org/openbravo/erpCommon/security/Login_F1.html
src/org/openbravo/erpCommon/security/Login_F1.xml
--- a/src/org/openbravo/erpCommon/security/Login_F1.html	Wed Nov 10 16:29:20 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html	Wed Nov 10 17:52:28 2010 +0100
@@ -122,14 +122,14 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('sectionRol');
-    if ((!revisionControl('8794')) || (isOpsInstance() != isOpsInstanceCached())) {
-      alert(cacheMsg);
-    }
+
 
     if (!checkBrowserCompatibility()) {
       alert(browserMsg);
     }
 
+	document.getElementById("en_US").selected = true;
+
     showSFBanner();
   }
 
@@ -235,7 +235,7 @@
   <tr>
     <td class="TitleCell"><span class="LabelText">Role</span></td>
     <td class="Combo_ContentCell" colspan="3">
-      <select name="role" id="sectionRol" class="Combo Combo_OneCell_width">
+      <select name="role" id="sectionRol" class="Combo Combo_OneCell_width" style="width: 225px">
         <option value="es" id="fieldClaveRol">xxrol1</option>
       </select>
     </td>
@@ -244,7 +244,7 @@
     <td class="TitleCell"><span class="LabelText">Language</span></td>
     <td colspan="3" class="Combo_ContentCell">
 
-     <select id="sectionLang" name="languageLogin" class="Combo Combo_OneCell_width">
+     <select id="sectionLang" name="languageLogin" class="Combo Combo_OneCell_width" style="width: 225px">
        <option value="en_US" id="fieldClaveLanguage"></option>
      </select>
     </td>
--- a/src/org/openbravo/erpCommon/security/Login_F1.xml	Wed Nov 10 16:29:20 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.xml	Wed Nov 10 17:52:28 2010 +0100
@@ -26,6 +26,7 @@
   <PARAMETER id="browserMsg" name="browserMsg" default=""/>
     <structure name="structureLang">
         <FIELD id="fieldClaveLanguage" attribute="value">adLanguage</FIELD>
+        <FIELD id="fieldClaveLanguage" attribute="id">adLanguage</FIELD>
         <FIELD id="fieldClaveLanguage">name</FIELD>
         <SECTION id="sectionLang"/>
     </structure>