3
0
Fork 0

[FIX] remove blink effect in Chrome / Chromium;

7.0
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) { 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');
}); });
} }
}, },