MyBB Community Forums

Full Version: Add spinner to Ajax upload
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Currently, the Ajax upload feature shows a progress bar when uploading files, but the actual render (insertion) of uploaded files could be delayed to seconds after the progress bar disappears.

I think we should add some spinner to display progress and block the upload area with it until after the files get inserted into the page, within the success function of the $.ajax call.