omarzina / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Only one image can be uploaded per 'save' when adding an image to a product. #143

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a new product.
2. Choose an image to upload.
3. Under Images, select "Add file to upload' to add an additional image.

What is the expected output? What do you see instead?
An additional choose file button should appear under images, instead it appears 
under 
downloads.

What version of the product are you using? On what operating system?
Verified on Substruct demo page.

Please provide any additional information below.
Workaround:
You can currently add more than one image if you save the product between each 
new image 
uploaded.

Original issue reported on code.google.com by surveys...@gmail.com on 22 Oct 2008 at 6:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This issue is a duplicate of issue 133, which was already fixed with r155.

Original comment by surveys...@gmail.com on 24 Oct 2008 at 1:58

GoogleCodeExporter commented 8 years ago
seems that at least in once instance this occurred because the 'cached' copy of 
the 
javascripts overwrote the original substruct.js file :) [in production mode]
this causes the screen to 'jump to the top' when you click 'add image' instead 
of 
adding a new image slot.

fix:
layouts/admin.rhtml change
:cache => 'substruct'
to
:cache => 'substruct_cache'

Original comment by rogerpack2005 on 6 Dec 2008 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by subim...@gmail.com on 25 Jan 2009 at 7:46