[MERGE] fix to classes set on editable list rows: oe_forms was not set in case of row being replaced

bzr revid: xmo@openerp.com-20120515111147-4kbpy3rwtrqmly06
This commit is contained in:
Xavier Morel
2012-05-15 13:11:47 +02:00
@@ -202,7 +202,7 @@ openerp.web.list_editable = function (openerp) {
var $new_row = $('<tr>', {
id: _.uniqueId('oe-editable-row-'),
'data-id': record_id,
'class': row ? $(row).attr('class') : '' + ' oe_forms',
'class': (row ? $(row).attr('class') : '') + ' oe_forms',
click: function (e) {e.stopPropagation();}
})
.delegate('button.oe-edit-row-save', 'click', function () {