From e4c569537d09a3053d2a8c6c58b0a609a2c8d309 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 6 Dec 2011 18:04:06 +0100 Subject: [PATCH] [fix] problem with some parts of the web client still showing bzr revid: nicolas.vanhoren@openerp.com-20111206170406-sfzwbp7jbsmxzuwe --- addons/point_of_sale/static/src/js/pos.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/point_of_sale/static/src/js/pos.js b/addons/point_of_sale/static/src/js/pos.js index 8c3402819b2..05adcaf458a 100644 --- a/addons/point_of_sale/static/src/js/pos.js +++ b/addons/point_of_sale/static/src/js/pos.js @@ -1136,12 +1136,17 @@ openerp.point_of_sale = function(db) { pos = new Pos(this.session); this.$element.find('#steps').buttonset(); + + $('.oe_toggle_secondary_menu').hide(); + $('.oe_footer').hide(); return pos.ready.then( function() { pos.app = new App(self.$element); }); }, stop: function() { + $('.oe_footer').show(); + $('.oe_toggle_secondary_menu').show(); pos = undefined; this._super(); }