[FIX] better filtering of id-less rows being selected in a ListView.List body
bzr revid: xmo@openerp.com-20120702110658-7t8pu12uso55enrh
This commit is contained in:
parent
3cc825994b
commit
d1eeaaa51e
|
@ -425,7 +425,7 @@ openerp.web.list_editable = function (instance) {
|
|||
record = new instance.web.list.Record();
|
||||
this.records.add(
|
||||
record, {at: this.options.editable === 'top' ? 0 : null});
|
||||
$row = this.$current.find(':not([data-id])');
|
||||
$row = this.$current.children('tr:not([data-id])');
|
||||
} else {
|
||||
record = this.records.get($row.data('id'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue