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

Requested reviews:
  OpenERP Core Team (openerp)

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

Hello,

   All Notebook Page invisible: Content visible

In Form View, Notebook contains 3 Page.
Each page contains  attrs="{'invisible': [('name','=','hidden')]}".
In Form View name is hidden. All pages of notebook are invisible as per 
condition but content of last page is visible.

If invisible === true then tab(index).hide() is used to hide label and content 
of tab.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-577662-bth/+merge/118347
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-577662-bth.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2012-07-20 12:48:22 +0000
+++ addons/web/static/src/js/view_form.js	2012-08-06 12:50:27 +0000
@@ -1204,6 +1204,8 @@
             if (page.invisible === false) {
                 this.$element.tabs('select', page.index);
                 break;
+            } else {
+                $(this.$element.tabs(page.index)).hide();
             }
         }
     }

_______________________________________________
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