summaryrefslogtreecommitdiffstats
path: root/hosted
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2012-07-04 13:14:20 +0200
committerTorsten Grote <grote@kolabsys.com>2012-07-04 13:14:20 +0200
commit35fe6fd428cfa20b2733f216df67322eb3a1a826 (patch)
treefb20e853d21deda37f6783d4d86ce3c0b63a4272 /hosted
parentfaa9766c57200518071e7977959f07d00487dee3 (diff)
downloadwebadmin-35fe6fd428cfa20b2733f216df67322eb3a1a826.tar.gz
signing up users works, still needs checks
Diffstat (limited to 'hosted')
-rw-r--r--hosted/js/kolab_hosted.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosted/js/kolab_hosted.js b/hosted/js/kolab_hosted.js
index 5d98c13..d40bb4c 100644
--- a/hosted/js/kolab_hosted.js
+++ b/hosted/js/kolab_hosted.js
@@ -25,7 +25,7 @@ kadm.check_user_availability = function(userid)
{
// get form data and build new email address
data = kadm.serialize_form('#signup-form');
- uid = data['alias'] + '@' + data['domain'];
+ uid = data['uid'] + '@' + data['domain'];
if(isValidEmailAddress(uid)) {
// update future mail form field
@@ -57,7 +57,7 @@ function update_user_info(msg) {
}
else {
// add span area and inform about non-availability
- $('input[name="alias"]').after(' <span id="availability" style="font-weight:bold;margin-left:1em;color:red;">' + msg + '</span>');
+ $('input[name="uid"]').after(' <span id="availability" style="font-weight:bold;margin-left:1em;color:red;">' + msg + '</span>');
}
}