summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-09-20 14:45:23 +0200
committerGéry Debongnie <ged@odoo.com>2017-09-20 17:07:04 +0200
commit130c47bc0abee1ab193fb136bd1844dba8a693cd (patch)
treebf26424613557729f0c507480e3e32aa91a57b9a /addons/web/static/src/js/views/basic/basic_controller.js
parenta5ca63c83beafd9a060ac58d3b4c6a9a987b28df (diff)
[FIX] web: several minor issues with editable list
- correctly update the pager when a record is added or removed - destroy the widgets of the removed row when the user clicks on 'Cancel' when creating a new record - ensure that the list always contains 4 rows (before this rev., in list views with less than 4 records, if the user created a new record, then clicked on 'Discard', there were only 3 rows left - properly destroy field widgets when removed from the DOM Note that the change of parent.parentID to parent.static is not a bug fix, but it's better to use the key that indicates the type of list element, instead of implying it from other attributes.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions