summaryrefslogtreecommitdiff
path: root/addons/base_geolocalize
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-07-04 08:59:49 +0000
committerqsm-odoo <qsm@odoo.com>2019-07-04 12:46:50 +0000
commit3431751c1c854f9dbcfc2a91bf4238a36572ae1f (patch)
tree3d17127c4b5035cdf5998bd7a48f1b3a834af7ab /addons/base_geolocalize
parentfc53b1102a7a2beae73692de9bff579a674f70de (diff)
[FIX] web: load editor assets in the right order
Before this commit, 50% of the time, the design of the editor in the website appeared broken. This was because the two editor assets (the web_editor one and the website one) are lazy loaded... but their load order was not deterministic. The bug was introduced with the new editor merged with https://github.com/odoo/odoo/pull/29775. In fact the lazy loading system introduced by the `loadLibs` function of the ajax module was designed to allow sequential and/or parallel loading of JS files... but not of assets bundles (for CSS it is always forced to parallel because only the DOM order matters anyway). This commit shares the code to allow sequential and/or parallel loading of assets bundles. It also forces the asset bundle resources to be loaded after css and js resources. closes odoo/odoo#34544 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/base_geolocalize')
0 files changed, 0 insertions, 0 deletions