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.

CommentFileSizeAuthor
radix-js_alter_modal.patch1.84 KBbarraponto
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shadcn’s picture

Status: Needs review » Fixed

Thanks. Committed.

Status: Fixed » Closed (fixed)

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