summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-05-02 10:38:47 +0200
committerqsm-odoo <qsm@odoo.com>2017-05-02 17:47:18 +0200
commit2c59d81d44aa408f980fd08bef0a39eacd2e52d1 (patch)
tree5fa05e5418cd2dbeb29c835eb34cf118b16bbf9f /addons/web/static/src/js/fields
parentc891463e509a327fc8bc1a2c4fa0fae1e00f0bab (diff)
[FIX] web: edit correct list line on click after line deletion
Before this commit, if the user created a line (thanks to the create button) then deleted it, the rows were in a broken state which made the list edit the wrong line on line click (it opened the next one). This was due to row indexes which are kept as data on rows: they were not updated on row deletion. This commit simplifies the code by getting rid of this indexes data and instead compute those when necessary.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions