Project

General

Profile

« Previous | Next » 

Revision 8662

Added by Jing Tao over 10 years ago

make the loginForm and logoutForm the onSubmit "false" and the method "post".

View differences:

lib/style/skins/sanparks/sanparksLogin.jsp
157 157
		<span class="regtext"> (request an account...)</span>
158 158
		</a>
159 159
		</h3>
160
		<form name="loginForm" id="loginForm" onsubmit="submitLoginFormIntoDivAndReload('<%= SERVLET_URL %>', this, 'loginSection')">
160
		<form name="loginForm" id="loginForm" method="post" onsubmit="submitLoginFormIntoDivAndReload('<%= SERVLET_URL %>', this, 'loginSection'); return false;">
161 161
		  <input name="qformat" type="hidden" value="sanparks" />
162 162
		  <input name="action" type="hidden" value="login"/>
163 163
		  <table>
......
190 190
	} else {
191 191
%>
192 192
		<h3>Welcome,<%= clientViewBean.getUsername() %></h3>
193
		<form name="logoutForm" id="logoutForm" onsubmit="submitLogoutFormIntoDiv('<%= SERVLET_URL %>', this, 'loginSection')">
193
		<form name="logoutForm" id="logoutForm" method="post" onsubmit="submitLogoutFormIntoDiv('<%= SERVLET_URL %>', this, 'loginSection'); return false;">
194 194
		  <input name="qformat" value="sanparks" type="hidden" />
195 195
		  <input name="action" type="hidden" value="logout"/>
196 196
		  <table>

Also available in: Unified diff