[IMP] when trying to focus the first visible field in the editable list view, ensure that we only stop when we actually manage to focus a field
bzr revid: xmo@openerp.com-20120802100020-kbmo1s5shjwaof69
This commit is contained in:
parent
a2c6890705
commit
84bf640e67
|
@ -681,9 +681,8 @@ openerp.web.list_editable = function (instance) {
|
|||
if (!field.$element.is(':visible')) {
|
||||
return false;
|
||||
}
|
||||
field.focus();
|
||||
// Stop as soon as a field got focused
|
||||
return true;
|
||||
return field.focus() !== false;
|
||||
});
|
||||
},
|
||||
edit: function (record, configureField, options) {
|
||||
|
|
Loading…
Reference in New Issue