plupload icon indicating copy to clipboard operation
plupload copied to clipboard

Plupload breaks when over limit.

Open desertspider opened this issue 12 years ago • 1 comments

I use the core API for my website, my example: http://dierennetwerk.nl/plupload.php

The upload limit is 3 pictures max. Code: http://dierennetwerk.nl/cssjs/plupload.js

When i uploaden more files then the limit allows, plupload breaks when i remove one of the uploads, and reupload a new file. Plupload just quits(UploadProgress wont fire). When i don't go over the limit, i can remove files, and add new ones indefinitely. When i set the limit to 6 as example, this behavior starts when i upload 7 files.

I'm not sure its my code breaking stuff, or a bug in Plupload.

For now, there is just one solution: limit the file selection browser to one file. So when a user want to upload 3 files, he or she has to browse 3 times.

desertspider avatar Apr 07 '14 18:04 desertspider

Fixed by adding up.removeFile(file);

desertspider avatar Apr 12 '14 19:04 desertspider