[FIX] pos_restaurant: fix traceback when trashing a table just after creation. (was referencing not-yet-existing table on the server)

This commit is contained in:
Frédéric van der Essen
2015-06-09 16:46:24 +02:00
committed by Frédéric van der Essen
parent 9918c3ab34
commit cd2c4a78a2
@@ -492,6 +492,7 @@ var FloorScreenWidget = screens.ScreenWidget.extend({
'shape': 'square',
'seats': 1,
});
tw.save_changes();
this.select_table(tw);
this.check_empty_floor();
},