bestprotop / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

File input's Names and IDs are unordered #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select a couple files
2. Delete a file
3. The original input's ID and Name is changed and the next files do not
start at _F1, _F2, _F3 etc.

What is the expected output? What do you see instead?

Is there a way to make it so the original input's ID and Name always stays
the same and whenever you delete a file from the list, have all of the
input's IDs and Names in order? For example:

Original Input - Name: inputFile - ID: inputFile
File 1 - Name: inputFile_F1 - ID: inputFile_F1
File 2 - Name: inputFile_F2 - ID: inputFile_F2
File 3 - Name: inputFile_F3 - ID: inputFile_F3

When you delete File 1, File 2's Name and ID SHOULD become inputFile_F1 and
File 3's Name and ID should become inputFile_F2. As it is right now, if you
delete File 1, the original input's ID and Name becomes inputFile_F1 (which
won't be used server-side since it will never have a file in it) and then
File 2 and 3's Name and ID stays the same.

This makes it quite difficult to predict the ordering server-side if
someone has added or removed files.

What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.46
JQUERY VERSION: v1.4 (but have tested it on 1.3.2 and 1.2.6)

On what browser(s) or operating system?
BROWSER(S): Firefox 2.5, Firefox 3.0, Firefox 3.5, IE7, IE8

Please provide a link to where the problem can be observed:
URL: It's in an administrative interface so I won't be able to link to it
(however, I observed it through Firebug's Inspect Element).

Feel free to provide any additional information below.

Great plugin, I just wish there was an easier way to process the inputs
server-side.

Original issue reported on code.google.com by mali...@gmail.com on 20 Feb 2010 at 2:53

GoogleCodeExporter commented 9 years ago
The project has been dormant for over a year and many of the support requests 
have been resolved and/or are invalid. So we're going to archive them all, 
pending review.

If you're still having a problem with the plugin, please visit the project page 
and re-open the issue. We do apologize for any inconvenience this may cause, 
but please bear with us...  we'll be making improvements to the plugin and its 
documentation over the coming weeks.

Stay tuned; and thanks for your support!

The Fyneworks Team
http://twitter.com/fyneworks

Original comment by fyneworks on 26 Jan 2012 at 1:37