Index: openacs-4/packages/proctoring-support/www/resources/proctored-page.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/www/resources/proctored-page.js,v diff -u -r1.1.2.17 -r1.1.2.18 --- openacs-4/packages/proctoring-support/www/resources/proctored-page.js 19 Nov 2020 18:16:15 -0000 1.1.2.17 +++ openacs-4/packages/proctoring-support/www/resources/proctored-page.js 8 Mar 2021 16:52:22 -0000 1.1.2.18 @@ -138,7 +138,11 @@ } } function errorHandler() { - uploadQueue.unshift(formData); + // In the case of error + timeout, make sure we do not + // reinsert the failed picture twice. + if (!uploadQueue.includes(formData)) { + uploadQueue.unshift(formData); + } reschedule(10000); }