Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment