summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-23 17:02:33 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-25 15:58:32 +0100
commitb27abee396a107e40b7f61a0df1e03c3cd23119a (patch)
tree4a6b16a81e93a63c3808f6d6d2da69244d3f2c8b /addons/web/static/tests/fields/basic_fields_tests.js
parentfb81c331f869a06ffa9332a294492d4307ea65b3 (diff)
[FIX] web_editor: ready when translations ready
$('web_editor.base').ready() returns a deferred that: - wait at least for $(document).ready() - wait at least for require('web.ajax').loadXML() - at most once starts translations configuration But there is an issue since there is unexpectedly no reference to the translations, whilst it should have also been ready when ready was resolved. This commit keep the reference so translations can be used after $('web_editor.base').ready() is resolved as it was before 7dfdfa0103. note: in 11.0 it should be solved with 29729769 (so fix is for [10,11[) opw-804148 closes #22522
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions