Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-opw-577662-port-bth into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-577662-port-bth/+merge/135887

Hello,
   
   Selected tab in previous record, should select in current record if it is 
exist.
i.e: one record has opened/selected 2nd tab(Account) then in next record if 2nd 
tab(Account) is there then should selected 2nd one. Else if it not there then 
should select first one tab.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-577662-port-bth/+merge/135887
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-opw-577662-port-bth.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2012-11-22 13:35:55 +0000
+++ addons/web/static/src/js/view_form.js	2012-11-23 12:30:30 +0000
@@ -1535,10 +1535,6 @@
             if (! page.__ic)
                 return;
             page.__ic.on("change:effective_invisible", null, function() {
-                if (!page.__ic.get('effective_invisible')) {
-                    $new_notebook.tabs('select', i);
-                    return;
-                }
                 var current = $new_notebook.tabs("option", "selected");
                 if (! pages[current].__ic || ! pages[current].__ic.get("effective_invisible"))
                     return;

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to