Download & Extend

Drupal behaviors are not context aware

Project:Mollom
Version:6.x-1.10
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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.

AttachmentSizeStatusTest resultOperations
mollom-625584.patch5.01 KBIgnored: Check issue status.NoneNone

#2

Seems like a good change. Will test tonight.

#3

Status:needs review» fixed

Committed to CVS HEAD. Thanks!

#4

Status:fixed» closed (fixed)

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