summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/views/sample_server_tests.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2020-07-06 14:01:53 +0000
committerOlivier Dony <odo@odoo.com>2020-07-06 16:02:04 +0000
commite93b9aa2716222231d963b8e6b52a4c6fbce2a79 (patch)
treecc1ac0ed90a5e2e68571d2aed08de3fc7a930859 /addons/web/static/tests/views/sample_server_tests.js
parentc387ec19b4648ae52bf3210253febd7825745627 (diff)
[FIX] website: restore CDN for lazy assets
The CDN implementation for resources works by matching well-know attributes (`href`, `src`, `action`) that hold URLs matching the CDN filters and injects the CDN prefix. However 13.0 introduced lazy loading for assets in #32181, so the attributes are now prefixed with `data-` and replaced at runtime. This PR updates the tag matching in order to cover both variants of attribute names. closes odoo/odoo#54156 X-original-commit: 6d4b5fcd11e96fd170d8df1ed27be2a8cea26e8b Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
Diffstat (limited to 'addons/web/static/tests/views/sample_server_tests.js')
0 files changed, 0 insertions, 0 deletions