[FIX] Do not autofocus Notebook pages by default
bzr revid: fme@openerp.com-20130409122852-f4ikugl83otx8423
This commit is contained in:
parent
8c8bfd706b
commit
905d13671b
|
@ -1526,7 +1526,7 @@ instance.web.form.FormRenderingEngine = instance.web.form.FormRenderingEngineInt
|
|||
if (! page.__ic)
|
||||
return;
|
||||
page.__ic.on("change:effective_invisible", null, function() {
|
||||
if (!page.__ic.get('effective_invisible')) {
|
||||
if (!page.__ic.get('effective_invisible') && page.autofocus) {
|
||||
$new_notebook.tabs('select', i);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue