You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by rh...@apache.org on 2010/12/17 12:13:36 UTC
svn commit: r1050349 -
/incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html
Author: rhirsch
Date: Fri Dec 17 11:13:36 2010
New Revision: 1050349
URL: http://svn.apache.org/viewvc?rev=1050349&view=rev
Log:
[ESME-274] Have to click "SignOn" 2x when logging in in Chrome
Patch from Vladimir Ivanov
Modified:
incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html
Modified: incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html?rev=1050349&r1=1050348&r2=1050349&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html (original)
+++ incubator/esme/trunk/server/src/main/webapp/templates-hidden/upw_login_form.html Fri Dec 17 11:13:36 2010
@@ -16,21 +16,28 @@
specific language governing permissions and limitations *
under the License. *
-->
-
-
+
+
<div id="login-box">
-
+ <script type="text/javascript">
+ jQuery(function() {
+ jQuery('input[type=\'image\']').bind('click', function() {
+ jQuery('form[name=\'loginFrm\']').attr('action', 'javascript:login()').submit();
+ });
+ });
+ </script>
+
<div class="top-login"></div>
-
+
<div class="mid-login">
<lift:Msgs>
<lift:error_class>error_major</lift:error_class>
<lift:notice_msg><lift:loc>ui_base_note</lift:loc></lift:notice_msg>
<lift:notice_class>note_major</lift:notice_class>
</lift:Msgs>
-
- <form name="loginFrm" action="javascript:login()" method="post" >
+
+ <form name="loginFrm" action="javascript:void(0)" method="post" >
<div class="form">
<div class="post-form-row">
<label> <lift:loc>ui_login_user</lift:loc></label>
@@ -67,4 +74,4 @@
<div class="box-right">
<h3><a href="http://en.wikipedia.org/wiki/Microblogging"><lift:loc>custom_heading_3_title</lift:loc></a></h3>
<lift:loc>custom_heading_3_body</lift:loc></div>
- </div><!--login-box "-->
\ No newline at end of file
+ </div><!--login-box "-->