3
0
Fork 0

[FIX] setup focus

16.0
Holger Brunn 2015-03-13 18:26:29 +01:00 committed by tarteo
parent e6ad012152
commit ad43d29e57
1 changed files with 1 additions and 0 deletions

View File

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