Needs review
Project:
Views Rotator
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2010 at 03:38 UTC
Updated:
14 Apr 2010 at 03:38 UTC
Views rotator currently re-runs its behavior every time Drupal.attachBehaviors is run. This means that if some AHAH event or other call to Drupal.attachBehaviors occurs, Views rotator can attach multiple times to the same element leading to all sorts of undesirable behaviors.
This patch uses the class addition/check pattern common to Drupal behaviors to prevent this from happening.
| Comment | File | Size | Author |
|---|---|---|---|
| viewsRotatorOnce.patch | 2.48 KB | yhahn |