Verified Commit b36a4fc5 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3496607 by alexpott: Make return value of stopEvent consistent and the...

Issue #3496607 by alexpott: Make return value of stopEvent consistent and the code less tempting to change
parent 6265e217
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1896,7 +1896,7 @@
      xhr.getResponseHeader('X-Drupal-Ajax-Token') === '1' &&
      // The isInProgress() function might not be defined if the Ajax request
      // was initiated without Drupal.ajax() or new Drupal.Ajax().
      settings.isInProgress &&
      typeof settings.isInProgress === 'function' &&
      // Until this is false, the Ajax request isn't completely done (the
      // response's commands might still be running).
      settings.isInProgress()