summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-07-25 12:03:59 +0200
committerMartin Geubelle <mge@odoo.com>2018-07-25 15:08:52 +0200
commit0f03f570340fc60c127e7cf5980eecf13c9749c0 (patch)
treea20468de9521519db0130f7f93c8fe1802b0c579 /addons/web/static/src/js/views/basic/basic_controller.js
parent81287c0a25063f2fc74046a475c1b2171151a348 (diff)
[FIX] web: look into the DOM for loadCSS
Since rev. odoo/odoo@0dd6a0b loadCSS function in ajax returns a promise in order to known when the stylesheet is loaded. It uses a local cache to avoid fetching the file multiple times. However, the lazy loaded lib could already be in the DOM (in the test bundle for example). In this case, the file was fetched twice. In this case, the cache is now filled with a resolved promise.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions