- Issue created by @Harshita mehra
- Status changed to Needs review
over 1 year ago 7:46am 27 June 2023 - last update
over 1 year ago 6 fail - First commit to issue fork.
- 🇺🇸United States rhovland Oregon
The correct way to handle this is to remove the dependency because those files do not use .once(). This is why the module continued to work on D10 despite the dependency on something that was removed in D10. The code that actually uses once() was updated back when the module was updated to support D10.
- Merge request !22Issue #3370410 - Remove unused dependency on core/jquery.once for echeck and visa → (Open) created by rhovland
- Status changed to Needs work
4 months ago 6:48am 2 September 2024 - 🇮🇱Israel jsacksick
#4: It seems once is used in one of the JS libraries (see js/commerce_authnet.form.js):
var $form = $('.acceptjs-form', context).closest('form').once('acceptjs-processed');
This code has to be updated.
- Status changed to Needs review
4 months ago 10:42pm 3 September 2024 - 🇺🇸United States rhovland Oregon
That line is in the 7.x branch
https://git.drupalcode.org/project/commerce_authnet/-/blob/7.x-1.x/js/co...The 8.x branch I triple checked and does not contain any calls to
.once()