Problem/Motivation

When using entity browser with tabs, I noticed that the 'Files listing' tab wasn't appearing, though the upload + configure parts of the form were working fine. Looking in the browser console. I noticed that .once() was not available & causing an issue.

Jquery issue

jquery.once is a core library, so if .once() is being used then it should be added as a dependency.

It's possible others haven't had this issue because other modules/themes could have had jquery.once as a dependency, making it available (as was the case in another site I've built).

Proposed resolution

Add core/jquery.once as a dependency to the libraries that require it.

Remaining tasks

Review patch.

Comments

smaz created an issue. See original summary.

smaz’s picture

StatusFileSize
new1.09 KB
smaz’s picture

Status: Active » Needs review
slashrsm’s picture

Status: Needs review » Fixed

Committed. Thanks!

  • slashrsm committed 6097a30 on 8.x-1.x authored by smaz
    Issue #2698015 by smaz: core/jquery.once should be a dependency for...

Status: Fixed » Closed (fixed)

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