Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
upload.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2007 at 01:04 UTC
Updated:
5 Aug 2007 at 00:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
flk commentedi can confirm this solves the problem of form content being cleared when JS is not disabled and one tries to attach a file.
rerolled against HEAD.
Comment #2
flk commenteds/JS is not/JS is
Comment #3
pwolanin commentedafter talking w/ chx in IRC, I think there is a simpler way to do this - just a normal submit function that sets rebuild to TRUE if the op matches the button. Preview is a special case, since the node preview must be built after all the normal submit functions have run.
Comment #4
pwolanin commentedhmmm, now form testing I see (and chx tells me) that 'op' is no longer a reliable part of $form_state['values'] for some reason. So, the previous patch may be the best bet for the moment.
Comment #5
chx commentedthis will be fixed at http://drupal.org/node/160039