details: https://code.openbravo.com/erp/devel/pi/rev/543a424c1293
changeset: 14041:543a424c1293
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Thu Oct 20 23:09:15 2011 +0200
summary: Fixed issue 17589: Proper <form> range in Login.html to avoid
strange IE submitting issues
diffstat:
src/org/openbravo/erpCommon/security/Login.html | 98 ++++++++++++------------
1 files changed, 49 insertions(+), 49 deletions(-)
diffs (111 lines):
diff -r b5b81e79c0fd -r 543a424c1293
src/org/openbravo/erpCommon/security/Login.html
--- a/src/org/openbravo/erpCommon/security/Login.html Thu Oct 20 17:48:39
2011 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.html Thu Oct 20 23:09:15
2011 +0200
@@ -416,58 +416,58 @@
<div class="Login_LogForm">
<form method="post" action="../secureApp/LoginHandler.html"
name="frmIdentificacion" id="frmFormulario" autocomplete="off">
- <input type="hidden" name="Command" value="" />
+ <input type="hidden" name="Command" value="" />
- <div class="Login_LogForm_CompanyLogo_Container">
- <div class="Login_LogForm_CompanyLogo"
id="CompanyLogo_Container" style="display: none;"><img
class="Login_Logo_Company" src="../../../../../web/images/blank.gif" /></div>
+ <div class="Login_LogForm_CompanyLogo_Container">
+ <div class="Login_LogForm_CompanyLogo" id="CompanyLogo_Container"
style="display: none;"><img class="Login_Logo_Company"
src="../../../../../web/images/blank.gif" /></div>
+ </div>
+ <div class="Login_LogForm_Input_Container">
+ <dl>
+ <dt>
+ <label for="user" class="LabelText Login_LabelText">User
Name</label>
+ </dt>
+ <dd>
+ <input class="dojoValidateValid Login_TextBox" type="text"
maxlength="60" name="user" id="user" />
+ </dd>
+ <dt>
+ <label for="password" class="LabelText
Login_LabelText">Password</label>
+ </dt>
+ <dd>
+ <input class="dojoValidateValid Login_TextBox" type="password"
maxlength="40" name="password" id="password" />
+ </dd>
+ </dl>
+ <div id="errorMsg" class="LabelText Login_ErrorMsg_Container"
style="display:none;">
+ <span id="errorMsgTitle_Container"><span id="errorMsgTitle"
class="Login_ErrorMsg_Title">xx</span><br></span><span id="errorMsgContent"
class="Login_ErrorMsg_Content">xx</span>
</div>
- <div class="Login_LogForm_Input_Container">
- <dl>
- <dt>
- <label for="user" class="LabelText Login_LabelText">User
Name</label>
- </dt>
- <dd>
- <input class="dojoValidateValid Login_TextBox" type="text"
maxlength="60" name="user" id="user"/>
- </dd>
- <dt>
- <label for="password" class="LabelText
Login_LabelText">Password</label>
- </dt>
- <dd>
- <input class="dojoValidateValid Login_TextBox"
type="password" maxlength="40" name="password" id="password"/>
- </dd>
- </dl>
- <div id="errorMsg" class="LabelText Login_ErrorMsg_Container"
style="display:none;">
- <span id="errorMsgTitle_Container"><span id="errorMsgTitle"
class="Login_ErrorMsg_Title">xx</span><br></span><span id="errorMsgContent"
class="Login_ErrorMsg_Content">xx</span>
- </div>
- </div>
- <div class="Login_LogForm_Button_Container">
- <div class="Login_LogForm_Button">
- <button type="button"
- id="buttonOK"
- class="ButtonLink"
- onclick="buttonOK_click();"
- onfocus="buttonEvent('onfocus', this);
window.status='Login'; return true;"
- onblur="buttonEvent('onblur', this);"
- onkeyup="buttonEvent('onkeyup', this);"
- onkeydown="buttonEvent('onkeydown', this);"
- onkeypress="buttonEvent('onkeypress', this);"
- onmouseup="buttonEvent('onmouseup', this);"
- onmousedown="buttonEvent('onmousedown', this);"
- onmouseover="buttonEvent('onmouseover', this);
window.status='Login'; return true;"
- onmouseout="buttonEvent('onmouseout', this);">
- <table class="Button" id="fieldTable">
- <tr>
- <td class="Button_left"><img class="Button_Icon
Button_Icon_ok" alt="Login" title="Login"
src="../../../../../web/images/blank.gif" border="0" id="fieldButton" /></td>
- <td class="Button_text Button_width">Log in</td>
- <td class="Button_right"></td>
- </tr>
- </table>
- </button>
- </div>
- <div id="sign-in" style="margin-top:12px;">xxxSignIn</div>
- </div>
+ </div>
+ </form>
+ <div class="Login_LogForm_Button_Container">
+ <div class="Login_LogForm_Button">
+ <button type="button"
+ id="buttonOK"
+ class="ButtonLink"
+ onclick="buttonOK_click();"
+ onfocus="buttonEvent('onfocus', this); window.status='Login';
return true;"
+ onblur="buttonEvent('onblur', this);"
+ onkeyup="buttonEvent('onkeyup', this);"
+ onkeydown="buttonEvent('onkeydown', this);"
+ onkeypress="buttonEvent('onkeypress', this);"
+ onmouseup="buttonEvent('onmouseup', this);"
+ onmousedown="buttonEvent('onmousedown', this);"
+ onmouseover="buttonEvent('onmouseover', this);
window.status='Login'; return true;"
+ onmouseout="buttonEvent('onmouseout', this);">
+ <table class="Button" id="fieldTable">
+ <tr>
+ <td class="Button_left"><img class="Button_Icon
Button_Icon_ok" alt="Login" title="Login"
src="../../../../../web/images/blank.gif" border="0" id="fieldButton" /></td>
+ <td class="Button_text Button_width">Log in</td>
+ <td class="Button_right"></td>
+ </tr>
+ </table>
+ </button>
+ </div>
+ <div id="sign-in" style="margin-top:12px;">xxxSignIn</div>
+ </div>
- </form>
</div>
<div class="Login_TopLogos_Container_Support_Forge"
id="TopLogos_Container" style="display: none;">
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits