From a379a62d88aafc4f1f4b5701b58bbc85909115bf Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 13 Nov 2012 13:42:27 +0100 Subject: [PATCH] [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 --- addons/web/static/src/js/view_list_editable.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/web/static/src/js/view_list_editable.js b/addons/web/static/src/js/view_list_editable.js index f144b5485c7..becadcadf39 100644 --- a/addons/web/static/src/js/view_list_editable.js +++ b/addons/web/static/src/js/view_list_editable.js @@ -117,13 +117,6 @@ openerp.web.list_editable = function (instance) { e.preventDefault(); 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(); // Editor is not restartable due to formview not being // restartable