hello,
I want focus searchbar after adding a new order (+)
so I change this function :
renderElement: function(){
var self = this;
this._super();
this.$('.order-button.select-order').click(function(event){
self.order_click_handler(event,$(this)); });
this.$('.neworder-button').click(function(event){
self.neworder_click_handler(event,$(this)); });
this.$('.deleteorder-button').click(function(event){
self.deleteorder_click_handler(event,$(this)); });
//add this part
this.$('.searchbox input').focus();
},
but, I suppose that this.$('.searchbox input') is indefined in chrome
please, help me