[open-ils-commits] r18602 - in trunk/Open-ILS/web/opac/skin/default: js xml/common (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Nov 4 11:04:44 EDT 2010
Author: phasefx
Date: 2010-11-04 11:04:42 -0400 (Thu, 04 Nov 2010)
New Revision: 18602
Modified:
trunk/Open-ILS/web/opac/skin/default/js/sidebar.js
trunk/Open-ILS/web/opac/skin/default/xml/common/login.xml
Log:
more opac login form tweaks. This should work in Firefox for button submission or enter press submission
Modified: trunk/Open-ILS/web/opac/skin/default/js/sidebar.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/sidebar.js 2010-11-04 12:41:49 UTC (rev 18601)
+++ trunk/Open-ILS/web/opac/skin/default/js/sidebar.js 2010-11-04 15:04:42 UTC (rev 18602)
@@ -157,12 +157,6 @@
function initLogin() {
- G.ui.login.button.onclick = function(evt) { G.ui.login.form.setAttribute('action','javascript:loginDance();'); };
- G.ui.login.username.onkeydown =
- function(evt) {if(userPressedEnter(evt)) G.ui.login.form.setAttribute('action','javascript:loginDance();');};
- G.ui.login.password.onkeydown =
- function(evt) {if(userPressedEnter(evt)) G.ui.login.form.setAttribute('action','javascript:loginDance();');};
-
// if(loginBoxVisible) {
// showCanvas();
// } else {
Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/login.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/common/login.xml 2010-11-04 12:41:49 UTC (rev 18601)
+++ trunk/Open-ILS/web/opac/skin/default/xml/common/login.xml 2010-11-04 15:04:42 UTC (rev 18602)
@@ -23,7 +23,7 @@
<br/>
- <form id='login_form' method='POST'>
+ <form id='login_form' method='POST' action='javascript:loginDance();'>
<table id='login_table' class='data_grid' style='margin-left: 20px;' width='95%'>
<tbody id='login_tbody'>
<tr>
More information about the open-ils-commits
mailing list