diff --git a/src/view/tree.js b/src/view/tree.js index 1f8e26e436..7c14fd3e72 100644 --- a/src/view/tree.js +++ b/src/view/tree.js @@ -2154,7 +2154,6 @@ init: function(view, attributes) { Sao.View.EditableTree.Many2One._super.init.call( this, view, attributes); - this.el.on('keydown', this.key_press.bind(this)); }, key_press: function(event_) { if (event_.which == Sao.common.TAB_KEYCODE) { @@ -2171,7 +2170,6 @@ init: function(view, attributes) { Sao.View.EditableTree.Reference._super.init.call( this, view, attributes); - this.el.on('keydown', this.key_press.bind(this)); }, key_press: function(event_) { if (event_.which == Sao.common.TAB_KEYCODE) { @@ -2188,7 +2186,6 @@ init: function(view, attributes) { Sao.View.EditableTree.One2One._super.init.call( this, view, attributes); - this.el.on('keydown', this.key_press.bind(this)); }, key_press: function(event_) { if (event_.which == Sao.common.TAB_KEYCODE) {