ZF-5810: ZendX_JQuery_View_Helper_Slider - default parameter of startValue is set although this is not a parameter in the jQuery docs


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 ( no such parameter is listed.


Bug is fixed in trunk and merged back into 1.8 release branch.



to decide which javascript generation mode should be enabled for the request. The Slider then generates the correct Javascript depending on your library version.