diff --git a/ietf/static/js/investigate.js b/ietf/static/js/investigate.js index b22e099b1..ee1c54514 100644 --- a/ietf/static/js/investigate.js +++ b/ietf/static/js/investigate.js @@ -18,13 +18,13 @@ document.addEventListener('DOMContentLoaded', () => { loadResultsFromTask('bogus-task-id') // bad task id will generate an error from Django } const taskId = (await response.json()).id - // Poll for completion of the investigation up to 18*10 = 180 seconds - waitForResults(taskId, 18) + // Poll for completion of the investigation up to 60*10 = 600 seconds + waitForResults(taskId, 60) } const waitForResults = async (taskId, retries) => { // indicate that investigation is in progress - document.getElementById('spinner').classList.remove('d-none') + document.querySelectorAll('.investigation-indicator').forEach(elt => elt.classList.remove('d-none')) document.getElementById('investigate-button').disabled = true investigateForm.elements['id_name_fragment'].disabled = true diff --git a/ietf/templates/doc/investigate.html b/ietf/templates/doc/investigate.html index 436a8ce91..8b613117d 100644 --- a/ietf/templates/doc/investigate.html +++ b/ietf/templates/doc/investigate.html @@ -13,13 +13,15 @@ {% csrf_token %} {% bootstrap_form form %} +
+ Please be patient, processing may take several minutes. +
{% if results %}