ZF-11301: Zend_Dojo_Form_Element_HorizontalSilder and VerticalSlider break JS for Internet Explorer

Issue Type: Bug Created: 2011-04-18T11:25:28.000+0000 Last Updated: 2011-05-02T20:02:28.000+0000 Status: Resolved Fix version(s): - 1.11.6 (05/May/11)

Reporter: Martijn Swaagman (swaagie) Assignee: Martijn Swaagman (swaagie) Tags: - Zend_Dojo

Related issues: - ZF-10479

Attachments: - Zend_Dojo_View_Helper_Slider.patch


{quote}$slider = new Zend_Dojo_Form_Element_HorizontalSlider('slider', array('label' => 'Testslider')); $slider->setMinimum(1) ->setMaximum(7) ->setDiscreteValues(7);{quote}

Works perfectly fine in Mozilla browsers (e.g. Firefox, Chrome), but does not render the slider in Internet Explorer (atleast 8 is affected). The JS breaks because this._progressPixelSize is not set properly if setValue() is not called. Zend_Dojo_Form_Element_VerticalSlider is affected similarly.


Posted by Martijn Swaagman (swaagie) on 2011-04-23T09:28:59.000+0000

IE broke due to the attrib not being set, whereas Mozilla browsers ignored the error

Posted by Matthew Weier O'Phinney (matthew) on 2011-05-02T20:02:28.000+0000

Patch reviewed (edited) and applied to trunk and 1.11 release branch.

Have you found an issue?

See the Overview section for more details.


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

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