Merge lp:~openerp-dev/openerp-web/7.0-opw-577662-port-bth into lp:openerp-web/7.0

Proposed by Bhumi Thakkar (Open ERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openerp-web/7.0-opw-577662-port-bth
Merge into: lp:openerp-web/7.0
Diff against target: 14 lines (+0/-4)
1 file modified
addons/web/static/src/js/view_form.js (+0/-4)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/7.0-opw-577662-port-bth
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+144296@code.launchpad.net

Description of the change

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.

To post a comment you must log in.

Unmerged revisions

3709. By Bhumi Thakkar (Open ERP)

[FIX] Select previously selected tab in current record.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/js/view_form.js'
2--- addons/web/static/src/js/view_form.js 2013-01-07 16:18:07 +0000
3+++ addons/web/static/src/js/view_form.js 2013-01-22 12:18:22 +0000
4@@ -1514,10 +1514,6 @@
5 if (! page.__ic)
6 return;
7 page.__ic.on("change:effective_invisible", null, function() {
8- if (!page.__ic.get('effective_invisible')) {
9- $new_notebook.tabs('select', i);
10- return;
11- }
12 var current = $new_notebook.tabs("option", "selected");
13 if (! pages[current].__ic || ! pages[current].__ic.get("effective_invisible"))
14 return;