summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-01-17 18:45:35 +0100
committerqsm-odoo <qsm@odoo.com>2018-01-18 15:19:16 +0100
commitf314cf0bb3dd715773e5ab1a5fcacd42bd3bd7fd (patch)
tree2f9116251465c8f2273ad739d4f8d351b9e61c47 /addons/web/static/src/js/views/basic/basic_model.js
parentcdb2cf744f4c9be7d2d498e28563a36aff1e0ae3 (diff)
[FIX] web_editor: `deleteContents` when no selection
Changing the `deleteContents` method of the editor is tricky. This commit however dares to add a behavior: if the range does not represent a selection but only the cursor position and is then asked to delete its content... it should not do anything as nothing is selected.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions