When you double click the main image to navigate through an album, the main image will produce duplicates.

CommentFileSizeAuthor
#1 double_click_duplicates_1908052_1.patch601 byteswjackson
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wjackson’s picture

Adding the following lines to jquery.galleriffic.js below line 629 did the trick.

this.$imageContainer.empty();
$(this.captionContainerSel).empty(); 

I created and attached a patch that will correct this issue. To apply the patch, place it in the views_galleriffic folder, navigate to the directory, and use the following command.

$ patch -p1 --verbose < double_click_duplicates_1908052_1.patch

OvRiDe’s picture

Works PERFECTLY.. thanks for the fix. will.j is the man!

m.stenta’s picture

This works, but it's also a duplicate of this issue, which also has a patch and is RTBC: #873014: Loading multiple images when clicking image more than once.

m.stenta’s picture

Status: Active » Closed (duplicate)