Conflict with popups

mkalbere - July 9, 2009 - 10:52
Project:Views carousel
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When using http://drupal.org/project/popups if viewscarrousel is used on the maincontent (inot in the popup) it generate an exception.
Modifiing viewscarousel.js correct the problem:
(function($) {
Drupal.behaviors.viewscarousel = function(context) {
if (!Drupal.settings.viewscarousel) return;
$.each(Drupal.settings.viewscarousel, function(id) {
if (this.scroll) this.scroll = parseInt(this.scroll);
if (this.start) this.start = parseInt(this.start);
if (this.visible) this.visible = parseInt(this.visible);
if (this.auto) this.auto = parseInt(this.auto);
$('#' + id).jcarousel(this);
});
}
})(jQuery)

#1

Rob Loach - July 14, 2009 - 23:37
Version:6.x-2.x-dev» 6.x-1.x-dev

This is in 6.x-1.x-dev.

 
 

Drupal is a registered trademark of Dries Buytaert.