Vishmita Jadeja (openerp) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bug-901618-vja into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
  Bug #901618 in OpenERP Web: "left menu not available any more"
  https://bugs.launchpad.net/openerp-web/+bug/901618

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-901618-vja/+merge/85436

After creating new database left menu should be visible.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-901618-vja/+merge/85436
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-901618-vja.
=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2011-12-12 16:26:43 +0000
+++ addons/web/static/src/js/chrome.js	2011-12-13 06:43:24 +0000
@@ -855,6 +855,9 @@
         this.data = data;
         this.$element.html(QWeb.render("Menu", { widget : this }));
         this.$secondary_menu.html(QWeb.render("Menu.secondary", { widget : this }));
+        if(this.session.active_id == null){
+           this.$secondary_menu.find('.oe_secondary_menu:first').addClass('active').show();
+        }
         this.$element.add(this.$secondary_menu).find("a").click(this.on_menu_click);
         this.$secondary_menu.find('.oe_toggle_secondary_menu').click(this.on_toggle_fold);
     },

_______________________________________________
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