Timeline for Drupal.Ajax.prototype.beforeSubmit results in AJAX Error
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 8, 2022 at 11:35 | vote | accept | MrUpsidown | ||
Aug 8, 2022 at 11:34 | comment | added | MrUpsidown | After further debugging, it appears the AJAX error was unrelated. This works as expected. Thank you! | |
Aug 8, 2022 at 9:56 | comment | added | 4uk4 | You understood me correctly, I think your code is now OK. However, the effect this has depends on what other code might be in beforeSubmit() in other places, which I don't know. Now you make sure you don't overwrite it. | |
Aug 8, 2022 at 9:29 | comment | added | MrUpsidown | Right. Please see my edit. Unless I misunderstood you, this is what I have done and I am still getting the same error. | |
Aug 8, 2022 at 9:18 | comment | added | 4uk4 | The last line with the variable you've saved before overwriting the function. | |
Aug 8, 2022 at 9:11 | comment | added | MrUpsidown | Thank you for your answer. What part(s) of the code must be called? | |
Aug 8, 2022 at 9:03 | history | answered | 4uk4 | CC BY-SA 4.0 |