Drupal.attachBehaviors is not being used

codexmas - August 13, 2009 - 22:38
Project:Advertisement
Version:6.x-2.x-dev
Component:ad module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Working on tracking ad clicks so that userpoints can be accumulated for members on a site when they click an ad.
My module is unable to attach any click events as the Ad module is not calling the attachBehaviors method.

I can override your theme function that renders the javascript in the Ad div, but thought I might pass this on.

If your module could add this feature it would be great for other developers to manage the modified DOM in a nice drupal way.

Cheers,
Gord.

#1

Jeremy - September 18, 2009 - 18:14
Status:active» postponed (maintainer needs more info)

Can you provide an example of how this would be implemented? I'm not familiar with this function.

 
 

Drupal is a registered trademark of Dries Buytaert.