Active
Project:
Commerce Add to Cart Ajax
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2015 at 14:55 UTC
Updated:
30 Dec 2015 at 20:01 UTC
Jump to comment: Most recent
Hi,
this module works great for me, replacing an old Excel file that always needed to be created manually to capture orders from clients.
After some testing, I have noticed that when you really quickly switch between different quantity input fields (when ajax is running for the field that you first edited), the data entered in the second field is not saved. The user does not notice that until he would reload the page.
Is it possible to block input on other field when a previous ajax action is still running?
For example by temporary blocking all other input fields as long as the ajax action of the previous quantity field is running?
Thanks!
Comments
Comment #2
redeight commentedI never found a way to fix it back when I created this module. You are correct that it could probably disable all of the other fields until the callback is finished then reenable. This wasn't an issue on the site I built this for as the only time anyone would enter values fast enough to cause the issue was if they were tabbing through and spamming number keys while not reading the items AT ALL. I know I did it a lot during testing (I'm impatient), but since launch, no one has had any issues.