Projet

Général

Profil

0001-select2-fix-handling-of-aborted-queries-17161.patch

Thomas Noël, 23 juin 2017 18:23

Télécharger (881 octets)

Voir les différences:

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(-)
wcs/qommon/static/js/select2/select2.js
3469 3469
      }, function () {
3470 3470
        // Attempt to detect if a request was aborted
3471 3471
        // Only works if the transport exposes a status property
3472
        if ($request.status && $request.status === '0') {
3472
        if ($request.status === 0) {
3473 3473
          return;
3474 3474
        }
3475 3475

  
3476
-