From a6d0f597bcd28f23968e7a6b44386c2f2fed39c2 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 23 Jun 2017 17:45:21 +0200 Subject: [PATCH 1/2] select2: fix handling of aborted queries (#17161) --- wcs/qommon/static/js/select2/select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcs/qommon/static/js/select2/select2.js b/wcs/qommon/static/js/select2/select2.js index e750834e..e583ed81 100644 --- a/wcs/qommon/static/js/select2/select2.js +++ b/wcs/qommon/static/js/select2/select2.js @@ -3469,7 +3469,7 @@ S2.define('select2/data/ajax',[ }, function () { // Attempt to detect if a request was aborted // Only works if the transport exposes a status property - if ($request.status && $request.status === '0') { + if ($request.status === 0) { return; } -- 2.11.0