Drupal behaviors are not context aware

rwohleb - November 6, 2009 - 19:20
Project:Mollom
Version:6.x-1.10
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The Mollom drupal behavior in mollom.js does not respect the context argument. Is there a reason for this? Even if it is only adding click handlers, it would be nice to be able to target it when dealing with AJAX/AHAH injection.

#1

rwohleb - November 6, 2009 - 20:16
Status:active» needs review

Here is a patch that makes the behaviors context aware, as well as making mollom support multiple instances of mollom per page.

AttachmentSize
mollom-625584.patch 5.01 KB

#2

Dave Reid - November 6, 2009 - 20:25

Seems like a good change. Will test tonight.

#3

Dries - November 14, 2009 - 19:50
Status:needs review» fixed

Committed to CVS HEAD. Thanks!

#4

System Message - November 28, 2009 - 20:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.