mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] setup focus
This commit is contained in:
committed by
Simone Orsi
parent
3cc76e9048
commit
6eb62bb572
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user