Upgrading to d10 replaces jquery/once with core/once. Accessing a /node/x/layout page throws console errors $(...).once is not a function

CommentFileSizeAuthor
#5 3348151-5.patch1.23 KBadil_siddiqui
#4 3348151-4.patch1.24 KBadil_siddiqui
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:

  • 3348151-console-errors Comparecompare
  • 1.0.x Comparecompare

Comments

adambraun created an issue. See original summary.

Adil_Siddiqui made their first commit to this issue’s fork.

adil_siddiqui’s picture

Patch created

adil_siddiqui’s picture

Status: Active » Needs review
StatusFileSize
new1.24 KB

Please review

adil_siddiqui’s picture

StatusFileSize
new1.23 KB

Updated patch...ignore previous patch

adil_siddiqui’s picture

rajab natshah’s picture

Facing the same issue.
Thanks, Adil for patch #5

elber’s picture

I will review it.

elber’s picture

Status: Needs review » Reviewed & tested by the community

Hi I revised the patch.

It was applied cleanly.

Module keeps working

Issue has been fixed.

Moving to RTBC.

solideogloria’s picture

  • Rajab Natshah committed 904106f9 on 1.0.x
    Issue #3348151: Fix name of the Drupal.behaviors.sectionLibrary...
rajab natshah’s picture

rajab natshah’s picture

Status: Reviewed & tested by the community » Fixed
rajab natshah’s picture

Title: After upgrading to Drupal 10, there are console errors for $(...).once is not a function » Fix console errors for $(...).once is not a function after upgrading to Drupal 10
rajab natshah’s picture

solideogloria’s picture

Thanks!

Also, I noticed there's no "1.1.x-dev" in the version dropdown for issues. Is that something you can add?

rajab natshah’s picture

I have no access permission to do that.
The creator of the module can do that for sure.

mark.labrecque’s picture

I don't think this release took. I just updated to 1.1.1 and the error code state still exists. On top of that, for some reason the patch in here doesn't apply cleanly, I had to reroll it. We may want to re-open this issue

This was my mistake, please disregard this comment :)

Status: Fixed » Closed (fixed)

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