Issues

ZF-9425: invalid HTML attibute onClick (uppercase C)

Issue Type: Bug Created: 2010-03-14T13:52:03.000+0000 Last Updated: 2010-04-16T00:29:15.000+0000 Status: Resolved Fix version(s): - 1.10.4 (28/Apr/10)

Reporter: Tomek Pęszor (admirau) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments: - ZF-9425.patch

Description

ajaxLink() helper generates HTML with attribute 'onClick', which should be lowercase 'onclick'. (HTML does not validate against XHTML1_STRICT)

To correct this, change line #257 in ZendX/JQuery/View/Helper/AjaxLink.php: from: $attribs['onClick'] = $js; to: $attribs['onclick'] = $js;

Comments

Posted by Christopher Thomas (cwt137) on 2010-03-16T21:51:47.000+0000

Attached is a patch

Posted by Benjamin Eberlei (beberlei) on 2010-04-16T00:29:14.000+0000

fixed

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts