From b23954cdc33aad66d9b24c495e168468151cd039 Mon Sep 17 00:00:00 2001 From: Frederic van der Essen Date: Thu, 25 Sep 2014 18:03:59 +0200 Subject: [PATCH] [IMP] pos_restaurant: add active status on the edit button --- addons/pos_restaurant/static/src/js/floors.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/pos_restaurant/static/src/js/floors.js b/addons/pos_restaurant/static/src/js/floors.js index 01ef7eab1c1..0443ddd6a2f 100644 --- a/addons/pos_restaurant/static/src/js/floors.js +++ b/addons/pos_restaurant/static/src/js/floors.js @@ -395,8 +395,10 @@ function openerp_restaurant_floors(instance,module){ if (this.editing) { this.$('.edit-bar').removeClass('oe_hidden'); + this.$('.edit-button.editing').addClass('active'); } else { this.$('.edit-bar').addClass('oe_hidden'); + this.$('.edit-button.editing').removeClass('active'); } if (this.selected_table) {