Commit graph

11 commits

Author SHA1 Message Date
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Alex P
844684b484
Add loadPaypalScript promise wrapper 2023-11-22 16:57:36 +02:00
Pedro Silva
93afeeba68
Add ButtonModuleWatcher
Adjustments for APM support
2023-08-29 15:26:59 +01:00
Pedro Silva
84a362a7c5
Fix lint
Add throttling to simulate_cart ajax call
2023-07-20 17:51:48 +01:00
Emili Castells Guasch
8d97954f42 Add content type json to all fetch ajax endpoints 2023-03-22 17:26:58 +01:00
Alex P
23cb96e6f9 Explicitly send cookies in fetch
Not sent by default in old browsers
2022-09-09 16:28:58 +03:00
Alex P
5be88678e7 Use appendChild for better compatibility
For some reason Babel does not polyfill it
2022-09-09 11:20:23 +03:00
Jorge A. Torres
ad921ef172 Set data-client-token regardless of user being logged-in 2021-04-30 14:42:04 -05:00
dinamiko
6149d79d19 Do not reuse client token but generate a new one each time it renders on the page 2021-04-14 12:35:40 +02:00
dinamiko
eef459df58 Do not add data-client-token to the script if there is no user 2021-03-02 10:29:40 +01:00
David Remer
f8e82bdfaf move module.local to module 2020-09-01 14:21:58 +03:00
Renamed from modules.local/ppcp-button/resources/js/modules/DataClientIdAttributeHandler.js (Browse further)