Issues

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

Issue Type: Bug Created: 2009-02-17T00:26:33.000+0000 Last Updated: 2009-06-11T01:26:54.000+0000 Status: Resolved Fix version(s): - 1.8.4 (23/Jun/09)

Reporter: Alistair (alistairh) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: - ZF-5841

Attachments:

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:

<pre class="highlight">
$view->jQuery()->setUiVersion("1.7.2");
$view->jQuery()->setUiVersion("1.5.3");

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

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