Need to replace the dependency from jQuery once to core/once.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot 2022-05-04 at 10.46.08 PM.png | 125.55 KB | shobhit_juyal |
| #2 | gin_lab-jquery-dependency-from-once-3278775-2.patch | 570 bytes | chandansharma-88 |
Need to replace the dependency from jQuery once to core/once.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot 2022-05-04 at 10.46.08 PM.png | 125.55 KB | shobhit_juyal |
| #2 | gin_lab-jquery-dependency-from-once-3278775-2.patch | 570 bytes | chandansharma-88 |
Comments
Comment #2
chandansharma-88 commentedHi,
Sharing the patch. Please review
Comment #3
shobhit_juyal commentedComment #4
shobhit_juyal commentedYour patch works fine for me,
Thanks
Comment #5
shobhit_juyal commentedUpdating status to RTBC
Comment #6
christian.wiedemann commentedHi, but the scripts are using still jquery once. So I don't understand this patch?
Comment #7
shobhit_juyal commented@Christian.wiedemann,
Bascially it is replacing
core/jQuery.oncetocore/once.Please visit https://www.drupal.org/node/3158256 for more details.
Comment #8
christian.wiedemann commentedI replaced jquery.once with once. Thanks for reporting.
Comment #9
christian.wiedemann commentedComment #10
christian.wiedemann commented