summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-01-11 07:42:05 +0000
committerAaron Bohy <aab@odoo.com>2019-01-14 11:31:55 +0000
commitb3f1081082ce33afe2513c2712bd0204fc5d8a22 (patch)
treeebcf20712edd86bd0dac6540e0be214aaebc2b2e /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent141c9a0ced5280aa9d6a7068c880f1e949e52fee (diff)
[FIX] web: form: call discardChanges while saving
Before this rev., there was a race condition when the user did some changes on a form view (triggering an onchange), saved and clicked on the breadcrumbs to leave the form view (before the onchange returned). As a consequence, the dialog telling the user that there are pending changes was displayed. This mostly occured on the main_flow_tour since the removal of an unnecessary check, and could be reproduced manually on a slow network. Basically, the check if there were pending changes was done too early (before the view was actually saved).
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions