mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-06 17:29:22 +00:00
Monotone-Parent: 7f9eeda74d55829371d1c66f2c2545473af168ff
Monotone-Revision: e36214d6c44a28c81a60a0867712c70d3e3a1651 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-04T15:00:44 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
d78f807510
commit
310b567c67
5 files changed
+212
-91
No files matched your search
@@ -0,0 +1,15 @@
|
||||
function initLogin() {
|
||||
var submit = $("submit");
|
||||
var userName = $("userName");
|
||||
userName.focus();
|
||||
Event.observe(submit, "click", onLoginClick);
|
||||
}
|
||||
|
||||
function onLoginClick(event) {
|
||||
startAnimation($("loginButton"), $("submit"));
|
||||
|
||||
var loginString = $("userName").value + ":" + $("password").value;
|
||||
document.cookie = "0xHIGHFLYxSOGo-0.9 = basic" + loginString.base64encode();
|
||||
}
|
||||
|
||||
addEvent(window, 'load', initLogin);
|
||||
Reference in new issue
Block a user