- 🇬🇧United Kingdom robcarr Perthshire, Scotland
Patch at 42 no longer applies. Still seeing "Uncaught TypeError: once is not a function" error with 9.5.8 vanilla site
- 🇬🇧United Kingdom robcarr Perthshire, Scotland
Quick re-roll attached - not seeing Console error on 9.5.8
- 🇬🇧United Kingdom robcarr Perthshire, Scotland
Sorry - last patch wouldn't apply. Rerolled patch again
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - Status changed to Needs review
over 1 year ago 1:25pm 4 May 2023 - last update
over 1 year ago 30,329 pass - 🇮🇳India gauravvvv Delhi, India
I have fixed the build failure and attached a patch with interdiff. please review
- Status changed to Needs work
over 1 year ago 11:01pm 5 May 2023 - 🇺🇸United States smustgrave
There anyway to write a test for this?
Issue summary should be updated as well as it says proposed solution is still TBD
- 🇬🇧United Kingdom robcarr Perthshire, Scotland
I'm seeing this problem in D10.1 too, and it's clearly a problem generated by other modules.
A lot of the JS has been removed in D10, so the patches above that people have put a lot of work in won't apply. With the caveat of 'I've absolutely no idea what I'm doing' the attached patch stopped all the console errors and - in my case - has allowed the modals for Views to pop-up again. It may have stopped something else really significant working, but I'll revisit if that's the case.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - 🇺🇸United States mrweiner
@smustgrave issue summary needn't be updated because no actual decisions have been made regarding how this should be addressed, unfortunately.
- 🇺🇸United States emb03
I am trying to make a custom form using ajax to add and delete items, simple, right? I am using Drupal 10.1 and running into major problems with not being able to use jquery.once function. How is one supposed to make a simple form? Are there any workarounds? I have tried everything even chat GPT is stumped :)
- 🇺🇦Ukraine voleger Ukraine, Rivne
#63 jquery.once is deprecated since drupal:9.2.x and is removed since drupal:10.0.0. See https://www.drupal.org/node/3158256 →
- last update
over 1 year ago 29,459 pass - 🇹🇷Turkey emircan erkul Turkey
In my case, $.fn.once was not ready when script initialized which causes all headache.
Attached file solved my issue. Yes i should find the root cause but couldn't. Probably order of the loading those libraries causes but effected areas was huge to handle in my case. Anyway it's just temporary, we soon upgrade to D10.