[CHG] try saving any row under edition when starting an (other) row edition
editable lists should not lose data unless explicitly asked to forget about it by user action bzr revid: xmo@openerp.com-20120612150820-z97jxme1vcu3x3jd
This commit is contained in:
parent
eb83b58e32
commit
0240ab1682
|
@ -194,7 +194,7 @@ openerp.web.list_editable = function (openerp) {
|
|||
},
|
||||
render_row_as_form: function (row) {
|
||||
var self = this;
|
||||
this.cancel_pending_edition().then(function () {
|
||||
this.ensure_saved().then(function () {
|
||||
var record_id = $(row).data('id');
|
||||
var $new_row = $('<tr>', {
|
||||
id: _.uniqueId('oe-editable-row-'),
|
||||
|
|
Loading…
Reference in New Issue