[jQuery] Bug in jQuery Multiple File Upload Plugin
Hello,
I dowloaded the last version of this plugin that looks great.
But here is the big big problem.
I just tested the most trivial examples on the following webpages :
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples
I checked the example :
Customising the file list -> Example 8 A
The original function associated with this example that only allows
you to select one file :
$(function(){ // wait for document to load
$('#T8A').MultiFile({
STRING: {
remove: '<img src="/@/bin.gif" height="16" width="16" alt="x"/>'
}
});
});
I did a little modification to restrict the downloading to gif or jpg
files with the code below and it works great :
$(function(){ // wait for document to load
$('#T8A').MultiFile({
accept:'gif|jpg',
STRING: {
remove: '<img src="/@/bin.gif" height="16" width="16" alt="x"/>'
}
});
});
But when I wanted to add a select limitation to 3 files with the
following code it is still limitated to one file.
I think it is very sad that a so simple instance create a bug.
It seems to be a bug
$(function(){ // wait for document to load
$('#T8A').MultiFile({
accept:'gif|jpg',
max: 3,
STRING: {
remove: '<img src="/@/bin.gif" height="16" width="16" alt="x"/>'
}
});
});
Does any one has an explanation for such failure.
Fred