Posted by gabrielu on April 21, 2010 at 9:39pm
4 followers
| Project: | Views Slideshow |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
After upgrading from beta2 to version 2.0 it saves fields from "Advanced options" of SingleFrame mode like this:
"field: value\nfield2: value" instead of "field: value", "field2: value" (see view source of js code generated)
Comments
#1
that's how it should look what problem are you having?
#2
#3
Marking as fixed
#4
I got the same problem after the upgrade to Slideshow 2.0.
On FF 3.6 only the first parameter set on the "Advanced options" box is working, all other parameters are ignored.
On IE 8 no paramter set will work.
#5
Can you first upgrade to 2.1 and then if possible link to a site that is having the problem or send me the settings javascript output that can be found in the source of your page?
#6
#7
Hi,
sorry for the late response.
I've managed to fix the problem which seemed to be an iteration variable that got overwritten in the
views_slideshow.js file (calling the
IsNumeric()function).This was the primary cause for a
forloop just executing 1 iteration only, and all other additionaladvanced parameters where just ignored.
here is a patch to fix this problem.
#8
Thanks L3X that was a good catch. I changed the patch up to declare the variable in the function so that it is local. Can you please test the attached patch.
#9
Hi,
I've tested the patch and it works just fine.
For both Slide shows, singlefram- and thumbnailhover-slideshow.
I'd say it's fixed.
#10
this has been committed.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.