Reply To: Different message for UploadRecordings

PennController for IBEX Forums Support Different message for UploadRecordings Reply To: Different message for UploadRecordings

#5991
Jeremy
Keymaster

Hi Emiel,

Yes, it would be along the lines of the solutions you point to. So something like:

const replaceUploadingMessage = ()=>{
    const uploadingMessage = $(".PennController-PennController > p");
    if (uploadingMessage.length > 0 && uploadingMessage[0].innerHTML.match(/^Please wait while the archive of your recordings is being uploaded to the server/))
        uploadingMessage.html("Please wait");
    window.requestAnimationFrame( replaceUploadingMessage );
};
window.requestAnimationFrame( replaceUploadingMessage );

Also consider uploading recordings trial by trial

Jeremy