of switching back to default screen.
This is used by the soon to be merged restaurant addon to create new orders
and display them at a particular screen. However, this behaviour is more
confusing in the other cases, so I'll think of a better way to solve this.
load_saved_screen: function(){
this.close_popup();
var selectedOrder = this.pos.get('selectedOrder');
- // this.set_current_screen(selectedOrder.get_screen_data('screen') || this.default_screen,null,'refresh');
- this.set_current_screen(this.default_screen,null,'refresh');
+ // FIXME : this changing screen behaviour is sometimes confusing ...
+ this.set_current_screen(selectedOrder.get_screen_data('screen') || this.default_screen,null,'refresh');
+ //this.set_current_screen(this.default_screen,null,'refresh');
},
set_user_mode: function(user_mode){