ZF-11969: ZendX_JQuery_View_Helper_Slider stylesheet dose not work correctly if value argment supplied

Issue Type: Bug Created: 2012-01-05T08:59:17.000+0000 Last Updated: 2012-01-13T09:44:03.000+0000 Status: Open Fix version(s): Reporter: Takayuki Fukuyama (fukuyama) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:


layout()->content; ?>


Posted by Frank Brückner (frosch) on 2012-01-05T13:36:50.000+0000

I think so.

Please make a short test:

Change line 95 in library/ZendX/JQuery/View/Helper/Slider.php from:

<pre class="highlight">

If the error still exists, then go to

And please give a feedback here. Thanks!

Posted by Takayuki Fukuyama (fukuyama) on 2012-01-13T08:10:22.000+0000

Thank you for comment.

I've Changed library/ZendX/JQuery/View/Helper/Slider.php div to a tag, but still not work.

the output html is

<pre class="highlight">

<a class="ui-slider-handle"></a>

So, I've tried to change this javascript

<pre class="highlight">
$(document).ready(function() {
            // $("#slider-slider").slider({"min":0,"max":100,"step":10,"values":[10],"range":"min"});

"values" to "value", this works fine.

So, I think if only one value supplied, the 'value' field should not be arrayed. (and I guess that class="ui-slider-handle" should not be printed by PHP, because this is already defined by jQuery UI)

How do you think about that?


Posted by Frank Brückner (frosch) on 2012-01-13T09:44:03.000+0000

Hi Takayuki, I will test it.

Thanks for your feedback and for the code snippets.

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.