[FIX] selector for edit-on-click-on-empty-row
bzr revid: xmo@openerp.com-20120711122424-355c6ed4vnmrr69n
This commit is contained in:
@@ -105,8 +105,8 @@ openerp.web.list_editable = function (instance) {
|
||||
.off('click', 'button.oe_list_save')
|
||||
.on('click', 'button.oe_list_save', this.proxy('saveEdition'));
|
||||
this.$element
|
||||
.off('click', 'tbody tr')
|
||||
.on('click', 'tbody tr', function () {
|
||||
.off('click', 'tbody td:not(.oe_list_field_cell)')
|
||||
.on('click', 'tbody td:not(.oe_list_field_cell)', function () {
|
||||
if (!self.editor.isEditing()) {
|
||||
self.startEdition();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user