Closed Bug 690753 Opened 13 years ago Closed 7 years ago

add client-side "no file attached" check to attachment.cgi?action=enter

Categories

(Bugzilla :: Attachments & Requests, enhancement)

4.0.2
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Atoll, Unassigned)

Details

When adding a new attachment at https://bugzilla.mozilla.org/attachment.cgi?bugid=690416&action=enter I was allowed to submit the form without actually selecting an attachment. Please consider adding a client-side JS check to be sure that a file is selected before POSTing to the server, to protect the unsaved data entered in the rest of the form. UI would presumably match the required Version field UI for filing this bug, eg. "You must select a version for this bug" highlighted in red and the page scrolls to it. Hoping for the same for missing attachment, if that's possible.
Assignee: nobody → attach-and-request
Component: User Interface → Attachments & Requests
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: ui → default-qa
Version: Current → 4.0.2
Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
Either this is fixed or it isn't, but I'm no longer interesting in pursuing this request.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.