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

Description

{{{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.

Comments

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

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