Closed (duplicate)
Project:
Galleria
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2009 at 06:16 UTC
Updated:
25 Apr 2009 at 10:54 UTC
Love the module - thank you!
When fivestar module is displayed on the same page as galleria, the main thumbnail dissapears and turns into 2 smaller thumbnails as soon as anyone gives a rating. Looks like when the fivestar javascript is called it messes up the gallery's main pic - javascript is not my strength.
Thanks
(example at: http://kobo.com.au/portfolio/view/10/kate-sieben-reflexologist)
Comments
Comment #1
MiniOverlord commentedGot exactly the same problem here on my development site.
Comment #2
Mark Theunissen commentedThanks for the report. I'll take a look as soon as I get some time.
Comment #3
Mark Theunissen commentedI can confirm the problem. It's probably got to do with the way both modules used the # fragment, although I don't know - I didn't write the jQuery plugin.
Advice is to either contact the Fivestar authors or the Galleria jQuery authors.
Comment #4
eromba commentedI couldn't help but notice how similar these symptoms sound to my own Galleria-corruption issue with FCKEditor. I haven't tried running Fivestar, but by looking at the code I can see that it uses AJAX requests to submit ratings. I bet that whenever these requests are made, the callback that initializes lightbox-embedded Gallerias is run, unnecessarily reinitializing all Gallerias on the page!
If this is indeed the case, my patch for #444566: Compatibility with FCKEditor module should do the trick.
I am preemptively marking this issue as a duplicate.
Comment #5
kobocms commentedThank you prof1337,
That patch worked for the issues I had with galleria and fivestar. I really need to learn more javascript :-).