summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-07-02 13:06:58 +0200
committerXavier Morel <xmo@openerp.com>2012-07-02 13:06:58 +0200
commitd1eeaaa51eef4cf208ef74d8e888e9b0fa80ac05 (patch)
tree78089e326f5ea79f751038d9cfa3bbeed436cb8b /addons/web/static/src
parent3cc825994b44cb3c7d732091b95df127d2b26445 (diff)
[FIX] better filtering of id-less rows being selected in a ListView.List body
bzr revid: xmo@openerp.com-20120702110658-7t8pu12uso55enrh
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/view_list_editable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js
index 0843426a330..a0ff796ed5e 100644
--- a/addons/web/static/src/js/view_list_editable.js
+++ b/addons/web/static/src/js/view_list_editable.js
@@ -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'));
}