Topic: Limit the number of files a user can upload
Hello
I need to restrict the number of files user can add to uploader.
At the moment, it seems that is adding all the files that user has selected via select file popup.
And even if i delete a files, when i trigger uploader.upload() it is selecting all the files.
uploader.bind('FilesRemoved', function(uploader, files) {
$.each(files, function(i, file) {
uploader.removeFile(file);
$("#" + file.id).remove();
});
});
Please help me