[fix] cosmetic fix in the pos

bzr revid: nicolas.vanhoren@openerp.com-20111206170537-zroopy9pum6dkn2l
This commit is contained in:
niv-openerp 2011-12-06 18:05:37 +01:00
commit 03ebf65d1c
1 changed files with 5 additions and 0 deletions

View File

@ -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();
}