[FIX] remove blink effect in Chrome / Chromium;

pull/150/head
Sylvain LE GAL 2015-06-27 10:06:28 +02:00
parent 87104f0009
commit 7a75339881
1 changed files with 1 additions and 2 deletions

View File

@ -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 = $('<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())
.click(function (e) {e.stopPropagation();})
.append(
@ -74,7 +74,6 @@ openerp.web_custom_search_quantity = function (instance) {
}
})
.focus()
.val(self._limit || '0');
});
}
},