pd_media_manager uses done() instead of then() of Drupal.ajax

Created on 12 January 2023, over 1 year ago
Updated 30 January 2023, over 1 year ago

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

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland pvbergen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024