-- cmple <[email protected]> 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 | [email protected]
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]