Fixed broken regenCaptcha() in Special:Register
authorDan
Sun, 20 Jan 2008 23:18:03 -0500
changeset 448 f725a16e4a20
parent 447 a9a3789ce02d
child 449 b8fd21190ae1
child 450 35f9d6c93eec
Fixed broken regenCaptcha() in Special:Register
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Sat Jan 19 00:47:52 2008 -0500
+++ b/plugins/SpecialUserFuncs.php	Sun Jan 20 23:18:03 2008 -0500
@@ -755,6 +755,7 @@
           }
           function regenCaptcha()
           {
+            var frm = document.forms.regform;
             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
             return false;
           }