Преглед изворни кода

Fixes ZF-11652: JS errors from ReCaptcha form decorator.
This became a required parameter in Firefox (we'll NEVER have consistant standards at this rate...)


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24370 44c647ce-9c0f-0410-b52a-842ac1e357ba

padraic пре 14 година
родитељ
комит
ef1df2b533
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      library/Zend/Form/Decorator/Captcha/ReCaptcha.php

+ 1 - 1
library/Zend/Form/Decorator/Captcha/ReCaptcha.php

@@ -94,7 +94,7 @@ windowOnLoad(function(){
     document.getElementById("$challengeId").form.addEventListener("submit", function(e) {
         document.getElementById("$challengeId").value = document.getElementById("recaptcha_challenge_field").value;
         document.getElementById("$responseId").value = document.getElementById("recaptcha_response_field").value;
-    });
+    }, false);
 });
 </script>
 EOJ;