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
Here is a patch that makes the behaviors context aware, as well as making mollom support multiple instances of mollom per page.
#2
Seems like a good change. Will test tonight.
#3
Committed to CVS HEAD. Thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.