[FIX] Fixed editable list view wrong class assignment.
authorJacques-Etienne Baudoux <>
Fri, 11 May 2012 11:15:27 +0000 (16:45 +0530)
committercpa-openerp <cpa@tinyerp.com>
Fri, 11 May 2012 11:15:27 +0000 (16:45 +0530)
bzr revid: cpa@tinyerp.com-20120511111527-4iz76pe2x815nd9n

addons/web/static/src/js/view_list_editable.js

index c722245..cc6b61c 100644 (file)
@@ -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 () {