Problem/Motivation

There is a js problem with displaying Mediaflow form on Media creation page (/media/add/mediaflow) on Drupal 10.

jQuery.once() has been removed from Drupal10, https://www.drupal.org/node/3158256 so the script needs to be adjusted accordingly.

Steps to reproduce

Install the module, set up credentials on the config form and try to add new Mediaflow item.

Proposed resolution

Replace usage of `jQuery.once` with `core/once`.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork mediaflow-3502814

Command icon 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

zambrey created an issue. See original summary.

zambrey’s picture

Issue summary: View changes
nidhish’s picture

Assigned: zambrey » nidhish

zambrey’s picture

Assigned: nidhish » zambrey
zambrey’s picture

Status: Active » Needs review
kleve’s picture

The patch https://git.drupalcode.org/project/mediaflow/-/merge_requests/3/diffs#c2... does not remove the js error. Can not make the Mediaflow button to work.

oleksandr yushchenko’s picture

Parent issue: » #3536769: Mediaflow 2.x
mediaflow’s picture

Version: 1.0.x-dev » 2.0.0
Status: Needs review » Fixed

Merged to 2.0.0, released Dec 17 2025.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

mediaflow’s picture

Status: Fixed » Closed (fixed)