Closed (fixed)
Project:
SWFUpload
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jul 2007 at 17:57 UTC
Updated:
16 Sep 2007 at 15:12 UTC
Jump to comment: Most recent file
Just tried the module out, very nicely done. For some reason, however, the progress bar doesn't slowly move up green. It might be something on my end, however.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | swfupload_progressbar.patch | 2.42 KB | robloach |
Comments
Comment #1
wmostrey commentedI have the exact same issue. The message remains "Uploading file 1 of 1" and the background remains yellow. The file is not uploaded. Not only that, but I am logged out after this as well.
Comment #2
robloachThe problem stems from the Javascript not knowing where progressbar.png is. Since it's statically set to "modules/swfupload/progressbar.png" in the uploadProgress function of callbacks.js, if your SWFUpload module isn't in that location, the progress bar won't work.
The attached patch uses a Javascript variable instead named "progressbarimage", which is set by Drupal in SWFUpload.module. It will output the correct location where the image is, which will then make the progress bar function correctly.
Comment #3
robloachWhoops, that patch also includes the Path fix.
Comment #4
robloachCommitted.
Comment #5
(not verified) commented