[IMP] pos_restaurant: add active status on the edit button
This commit is contained in:
committed by
Frédéric van der Essen
parent
bc190e512f
commit
b23954cdc3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user