Browse Source

[FIX] setup focus

pull/1106/head
Holger Brunn 10 years ago
committed by Jairo Llopis
parent
commit
b66e4ef04a
  1. 1
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

1
web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

@ -338,6 +338,7 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
this.$el
.find('tbody td.oe_list_field_cell span.oe_form_field>span')
.toggle(this.get('effective_readonly'));
this.$el.find('input').first().focus();
},
// deactivate view related functions

Loading…
Cancel
Save