[REM] useless events binding
edition is triggered by row_clicked on the internal List not even sure there's any td left which isn't an oe_list_field_cell bzr revid: xmo@openerp.com-20121113124227-173ykkiwgv862oly
This commit is contained in:
parent
f908f44759
commit
a379a62d88
|
@ -117,13 +117,6 @@ openerp.web.list_editable = function (instance) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
self.cancel_edition();
|
self.cancel_edition();
|
||||||
});
|
});
|
||||||
this.$el
|
|
||||||
.off('click', 'tbody td:not(.oe_list_field_cell)')
|
|
||||||
.on('click', 'tbody td:not(.oe_list_field_cell)', function () {
|
|
||||||
if (!self.editor.is_editing()) {
|
|
||||||
self.start_edition();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.editor.destroy();
|
this.editor.destroy();
|
||||||
// Editor is not restartable due to formview not being
|
// Editor is not restartable due to formview not being
|
||||||
// restartable
|
// restartable
|
||||||
|
|
Loading…
Reference in New Issue