Closed (fixed)
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Oct 2017 at 06:23 UTC
Updated:
15 Mar 2018 at 12:34 UTC
Jump to comment: Most recent
AjaxAddToCartForm->actions() we are adding attribute use-ajax-submit, this allows Drupal to treat the submit action as ajax. Ideally Drupal should add the required core/jquery.form and core/drupal.ajax libraries by itself, but it is not happening.
The issue is also reported to the core #2897120: use-ajax-submit does not includes core/jquery.form library to the form
Fix #2897120: use-ajax-submit does not includes core/jquery.form library to the form. And update the code inside AjaxAddToCartForm->buildForm().
N/A
N/A
N/A
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Comment #5
subhojit777#2897120-6: use-ajax-submit does not includes core/jquery.form library to the form requires documentation. It has been added #2897120-8: use-ajax-submit does not includes core/jquery.form library to the form.