Problem/Motivation
Due to core changes between 9.4.8 and 9.5.1, Drupal.ajax "done()" returns before loaded commands are done executing. Switching to "then()" resolves this problem in Drupal >=9.4 (or earlier).
Proposed resolution
- Replace "done()" with "then()" in pd_media_manager.js and other js files when Drupal.ajax is used
Issue fork pagedesigner-3332934
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pvbergen commentedComment #4
pvbergen commentedComment #8
pvbergen commented