weierophinney wrote
> 
> -- cmple <roman.vidyayev@> wrote
> (on Friday, 13 July 2012, 09:50 AM -0700):
>> 
>> cmple wrote
>> > 
>> > It looks like the "else if" statement is stripped out of the space =>
>> > "elseif" thus throwing the error,
>> > this happens in:
>> > Zend\Form\View\Helper\Captcha\ReCaptcha
>> > inside of the renderJsEvents($challengeId, $responseId) function,
>> > 
>> > but the weird part is, it looks fine in there:
>> > } *else if* (el.attachEvent){
>> > 
>> > Any ideas why this is happening?
>> > 
>> 
>> Edit: oops, I was looking at a previous ZF2 version,
>> this is a new bug, javascript does not support "elseif" tag without a
>> space
>> => "else if"
>> here is the source:
>> http://zend-framework-community.634137.n4.nabble.com/file/n4655746/screenshot-8.jpg
>>  
> 
> I've submitted a pull request to fix this:
> 
>     https://github.com/zendframework/zf2/pull/1882
> 
> 
> -- 
> Matthew Weier O'Phinney
> Project Lead            | matthew@
> Zend Framework          | http://framework.zend.com/
> PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
> 
> -- 
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
> 

Thanks Matthew!

Did you have a chance to look at Zend\Captcha\ReCaptcha's 
$_messageTemplates variable?

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Beta-5-Form-ReCaptcha-is-broken-tp4655745p4655760.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to