summaryrefslogtreecommitdiffstats
path: root/public_html
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2012-09-27 16:26:54 +0200
committerTorsten Grote <grote@kolabsys.com>2012-09-27 16:26:54 +0200
commitd295dea85d9c63a8477223f11e0499f54a5dcf45 (patch)
treed0e4dd80c1ec38227d02845699746c499ae53915 /public_html
parent7320c0b38f0b4eaa9888262f3fdca9e93273fd6e (diff)
downloadwebadmin-d295dea85d9c63a8477223f11e0499f54a5dcf45.tar.gz
automatically reload captcha when captcha fails
Diffstat (limited to 'public_html')
-rw-r--r--public_html/js/kolab_hosted.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/public_html/js/kolab_hosted.js b/public_html/js/kolab_hosted.js
index af3e1c2..aa4ab81 100644
--- a/public_html/js/kolab_hosted.js
+++ b/public_html/js/kolab_hosted.js
@@ -49,6 +49,11 @@ kadm.user_save = function(reload, section)
kadm.http_post('signup.add_user', {data: data});
};
+kadm.reload_captcha = function()
+{
+ Recaptcha.reload();
+};
+
kadm.change_user_type = function()
{
var data = kadm.serialize_form('#'+this.env.form_id);