diff --git a/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js b/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js index 7883cf42..428c9ee1 100644 --- a/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js +++ b/web_custom_search_quantity/static/src/js/web_custom_search_quantity.js @@ -42,7 +42,7 @@ openerp.web_custom_search_quantity = function (instance) { this.$pager.find('.oe_list_pager_state').click(function (e) { e.stopPropagation(); var $this = $(this); - var $select = $('') + var $select = $('') .appendTo($this.empty()) .click(function (e) {e.stopPropagation();}) .append( @@ -74,7 +74,6 @@ openerp.web_custom_search_quantity = function (instance) { } }) .focus() - .val(self._limit || '0'); }); } },