Browse Source

[FIX] remove blink effect in Chrome / Chromium;

pull/150/head
Sylvain LE GAL 10 years ago
parent
commit
7a75339881
  1. 3
      web_custom_search_quantity/static/src/js/web_custom_search_quantity.js

3
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) { this.$pager.find('.oe_list_pager_state').click(function (e) {
e.stopPropagation(); e.stopPropagation();
var $this = $(this); var $this = $(this);
var $select = $('<input list="page_value" class="custom_search_quantity" type="text">')
var $select = $('<input list="page_value" class="custom_search_quantity" type="text" placeholder="' + (self._limit || '0') + '">')
.appendTo($this.empty()) .appendTo($this.empty())
.click(function (e) {e.stopPropagation();}) .click(function (e) {e.stopPropagation();})
.append( .append(
@ -74,7 +74,6 @@ openerp.web_custom_search_quantity = function (instance) {
} }
}) })
.focus() .focus()
.val(self._limit || '0');
}); });
} }
}, },

Loading…
Cancel
Save