projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New CSS for the login modal
[citadel.git]
/
webcit
/
static
/
authmethods.js
diff --git
a/webcit/static/authmethods.js
b/webcit/static/authmethods.js
index 57550687a0f177cd6a90f2dcd339337113e2a747..3709669d0151e00bbe95789d44942790f5fdb26f 100644
(file)
--- a/
webcit/static/authmethods.js
+++ b/
webcit/static/authmethods.js
@@
-62,3
+62,12
@@
function ajax_try_username_and_password(destination_url) {
}
});
}
+
+/*
+ * tab handler for the login box
+ */
+function authtoggle(show_which_div) {
+ $('authbox_userpass').style.display = 'none';
+ $('authbox_openid').style.display = 'none';
+ $(show_which_div).style.display = 'block';
+}