summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.components.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-11-23 17:11:16 +0100
committerqsm-odoo <qsm@odoo.com>2016-11-24 10:14:56 +0100
commit365f7e9212268c24dd5bb53ce6ea635fd11d0943 (patch)
tree4cbddbf27f663cd4583be0eb483a58c339216b18 /addons/web_editor/static/src/less/web_editor.ui.components.less
parent88912f810ffad57f9f0ac39e9690657c9ea1ba10 (diff)
[FIX] web: lazy loading the same file multiple times with loadJS
Before this commit, if the loadJS method was called two times with the same url, the associated script was effectively put in the DOM only one time. However, the second call returned deferred was immediatly resolved while the script (added by the first call) might not be fully loaded yet. Now, calling loadJS for a same url multiple times will always return the same deferred, resolved when the associated script is fully loaded.
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.components.less')
0 files changed, 0 insertions, 0 deletions