[fix] fix search field 'clear' button
bzr revid: rlo@openerp.com-20120330124207-5c4lb61al2c1q8s2
This commit is contained in:
@@ -1390,7 +1390,7 @@ openerp.point_of_sale = function(db) {
|
||||
return (self.shop.get('products')).reset(m);
|
||||
});
|
||||
return $('.search-clear').click( function() {
|
||||
(this.shop.get('products')).reset(products);
|
||||
(self.shop.get('products')).reset(products);
|
||||
$('.searchbox input').val('').focus();
|
||||
return $('.search-clear').fadeOut();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user