danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 384 forks source link

Cursor remains in "loading" state #45

Closed umdieecke closed 7 years ago

umdieecke commented 8 years ago

dmuploader all works fine, thanks for that!

The only issue i am confronted with is that the cursor won't go back to its normal (default) state when the upload is finished. (Occurs only in Opera) Does anyone have a quick fix for that?

samfrjn11 commented 8 years ago

As far as I can see the script doesn't change the cursor, so I guess it's a bug in Opera? However, to fix your problem you can just add something like $('body').css('cursor', 'default'); in your own script (see callback onComplete) or in the dmuploader.js script in the ajax request under the complete function (+- line 171)