Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
pmgrowl-js.patch | 1.93 KB | osopolar |
Comments
Comment #1
osopolarPlease review this patch to get this in.
Comment #2
BerdirThanks for the patch, commited to all branches.