ZF-5810: ZendX_JQuery_View_Helper_Slider - default parameter of startValue is set although this is not a parameter in the jQuery docs
Description
ZendX_JQuery_View_Helper_Slider forces a startValue parameter to be passed to a new slider:
if(!isset($params['handles'][0]['start'])) { if(is_numeric($value)) { $params['startValue'] = $value; } elseif(!isset($params['startValue'])) { $params['startValue'] = 0; } }
In the jQuery docs (http://docs.jquery.com/UI/Slider/slider) no such parameter is listed.
Comments
Posted by Benjamin Eberlei (beberlei) on 2009-06-11T01:26:45.000+0000
Bug is fixed in trunk and merged back into 1.8 release branch.
Use:
to decide which javascript generation mode should be enabled for the request. The Slider then generates the correct Javascript depending on your library version.