select2: set a 250ms delay for debouncing requests (#17161)

This commit is contained in:
Thomas NOËL 2017-06-23 17:47:21 +02:00
parent 03f23bc5b8
commit 01768bf2ba
1 changed files with 1 additions and 0 deletions

View File

@ -1832,6 +1832,7 @@ var wcs_select2_%(id)s = $("#form_%(id)s").select2({
# setting up the select2 widget continues here
r += htmltext("""
delay: 250,
dataType: 'json',
data: function (params) {
return {