Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Oct 2007 at 23:54 UTC
Updated:
12 Nov 2007 at 22:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
hunmonk commentedcode looks good. works as advertised.
Comment #2
dwwThanks.
Comment #3
ChrisKennedy commentedI don't think it should be expanded if we're on the first page of the issue form, when the project hasn't been selected yet. Here is one way to fix this, although there is probably a better variable to check for than a form element.
Comment #4
dwwGood point, Chris, thanks. I forgot about that multi-page form, since I always submit directly from a project. ;)
IMHO, here's a better approach: we should just unset($form['attachments']) entirely if we're on page 1. I agree, there might be a cleaner way to test what page we're on, but I'm not sure I really care, especially since it's all going to change when we port to D6 FAPI, anyway...
Comment #5
ChrisKennedy commentedYeah removing it entirely does seem good.
Comment #6
dwwCommitted to HEAD.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.