My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 176: Choosing to add additional images adds input to the Download Image area
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2010


 
Reported by mwl...@gmail.com, Jun 22, 2009
What steps will reproduce the problem?
1. Log into admin interface
2. Create New Product
3. Click "Add file to upload" under "Images" heading

What is the expected output? 
A 2nd image upload input box should appear in the "Images" section.

What do you see instead?
A 2nd image upload input box appears in the "Downloads" section.

What version of the product are you using? On what operating system?
1.0a6


Jun 30, 2009
#1 randiz...@gmail.com
This is because the _multiple_upload.rhtml has an inline javascript function that
will be present in the rendered html multiple times, all having the same function
name. I have fixed this by prefixed the 'name' attribute (which is passed to the
partial) to the name of the function. Each copy of the function will now have a
unique name. 

This is not the 'right thing to do', so I don't know if you want to take this as a
bug fix. But it will at least allow mwlang to work around, if he has not already.


_multiple_upload.rhtml
1.2 KB   Download
Aug 25, 2010
Project Member #2 subim...@gmail.com
This has been fixed for awhile now - just haven't been paying much attention to these issues. Closing it out, thanks!
Status: Fixed

Powered by Google Project Hosting