Closed (fixed)
Project:
FileField
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2008 at 08:23 UTC
Updated:
23 Jul 2008 at 17:10 UTC
Hi,
I'm facing a problem with the uploads. If I click "browse", choose a file and then click save the file doesn't upload.
But if I press "upload" after I select the file, the file uploads via AJAX and I can save the node normally.
Thanks.
Comments
Comment #1
jpetso commentedGood grief, you're right! That's because in the 6.x version of FileField, uploading the files is linked to the submit function of the "Upload" button. That was necessary because the way it was before, the file would be uploaded on any button press ("Preview", "Add another item", ...whatever) which is wrong too.
So I guess what we need here is to link uploading to both the "Upload" button and the "Save" button. Let's see if I can get this fixed...
Comment #2
bassam commentedI'll look into it as well and try to figure it out as well.
Thanks a lot for this great module.
Comment #3
dopry commentedThis should be fixed in the 6.x-3.x dev series and 6.x-1.x is now deprecated.