Following the instructions in Converting 5.x modules to 6.x I've updated pmgrowl.js to use Drupal.behaviors.pmGrowl instead of $(document).ready(function();

I also implemented that jGrowl calls Drupal.attachBehaviors() when a new message is shown to give other modules the ability to apply their js-behaviors to the message added by the ajax-call.

Patch attached.

CommentFileSizeAuthor
pmgrowl-js.patch1.93 KBosopolar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

osopolar’s picture

Please review this patch to get this in.

Berdir’s picture

Status: Needs review » Fixed

Thanks for the patch, commited to all branches.

Status: Fixed » Closed (fixed)

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