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.
Sometimes we'll see an error in the javascript console, because radix-modal.js
tries to change properties in Drupal.CTools.Modal
even if it's not there. We could add a check, but we're better off adding the js file only if ctools-modals is loaded. hook_js_alter
to the rescue.
Comment | File | Size | Author |
---|---|---|---|
radix-js_alter_modal.patch | 1.84 KB | barraponto |
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedThanks. Committed.