mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Monotone-Parent: 426b535e2da36fbf5368515550e8353fd5148bc7
Monotone-Revision: b3fc892e5da4aadb8256c6689800fd5069d6ac91 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-09-10T18:42:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -27,12 +27,12 @@ function onLoginClick(event) {
|
||||
triggerAjaxRequest(url, onLoginCallback);
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
preventDefault(event);
|
||||
}
|
||||
|
||||
function onLoginCallback(http) {
|
||||
if (http.readyState == 4) {
|
||||
if (http.status == 204) {
|
||||
if (isHttpStatus204(http.status)) {
|
||||
window.location.href = ApplicationBaseURL + $("userName").value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user