From 6cea0610deb856476a8d4c53f9855d1e9705bce5 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 23 Jun 2017 17:47:21 +0200 Subject: [PATCH 2/2] select2: set a 250ms delay for debouncing requests (#17161) --- wcs/qommon/form.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wcs/qommon/form.py b/wcs/qommon/form.py index 92521e53..11e385d4 100644 --- a/wcs/qommon/form.py +++ b/wcs/qommon/form.py @@ -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 { -- 2.11.0