aaroneiche / do-want

Do Want - Open Source Gift Registry
18 stars 4 forks source link

in certain circumstances, Manage Images feature shows "The file upload is complete" before you upload an image #71

Closed aaroneiche closed 11 years ago

aaroneiche commented 11 years ago

Original author: ke...@envail.com (December 07, 2012 19:42:00)

I added an image for a new item, and it worked as expected.

Then I went immediately after to add an image to a different item. To my surprise, before I even attempted to select or upload an image, I received a message saying "The file upload is complete". (There was no actual image shown, though, nor any image associated with the item.)

I continued the process anyway and uploaded and added an image, and then it showed the success message again... right next to the first one. So it read "The file upload is completeThe file upload is complete"

I didn't continue testing, but I assume if I added an image to a third item, it would have shown "The file upload is completeThe file upload is complete" upon initial editing and then "The file upload is completeThe file upload is completeThe file upload is complete" after uploading the image. It seems to grow with each successive image addition.

Attached screenshot taken after successfully uploading a single image to the second item.

Original issue: http://code.google.com/p/do-want/issues/detail?id=71

aaroneiche commented 11 years ago

From aaron.ei...@gmail.com on December 07, 2012 19:51:36 The alert message providing success or failure isn't cleared on closing the modal window or on changing the file selection input. Marked to fix.

aaroneiche commented 11 years ago

From ke...@envail.com on December 07, 2012 19:52:33 Yes, your way of wording it is much more succinct. haha You'd think I were being paid by the word count.

aaroneiche commented 11 years ago

From aaron.ei...@gmail.com on December 07, 2012 19:53:26 Well, it helps that I know exactly what's going on inside the code :)