summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-24 12:54:45 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-09-24 12:54:45 (GMT)
commitf3a19e4fb68f13980edd21a7c4588b4906ff058e (patch)
tree76d576b156887276da1bec4cd85ffe36cec066f5 /public_html
parent48e4427ff85ac7606c3045b1b906dc87c6c8cf20 (diff)
downloadkolab-wap-f3a19e4fb68f13980edd21a7c4588b4906ff058e.tar.gz
Code cleanup
Diffstat (limited to 'public_html')
-rw-r--r--public_html/js/kolab_hosted.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public_html/js/kolab_hosted.js b/public_html/js/kolab_hosted.js
index 6fdb43e..c410b01 100644
--- a/public_html/js/kolab_hosted.js
+++ b/public_html/js/kolab_hosted.js
@@ -59,9 +59,9 @@ kadm.check_user_availability = function()
{
// get form data and build new email address
var data = kadm.serialize_form('#signup-form');
- var mail = data['uid'] + '@' + data['domain'];
+ var mail = data.uid + '@' + data.domain;
- if(data['uid'] != '') {
+ if(data.uid) {
if(isValidEmailAddress(mail)) {
// update future mail form field
$('input[name="mail"]').val(mail);