Open Bug 746360 Opened 13 years ago Updated 10 years ago

Throw a warning when clicking "Commit" if no bugs are selected on the "Edit multiple bugs at once" page

Categories

(Bugzilla :: User Interface, enhancement)

enhancement
Not set
normal

Tracking

()

REOPENED

People

(Reporter: dmarshall, Assigned: sjoshi)

Details

Attachments

(1 obsolete file)

This is handy, but I don't have a patch to contribute, unfortunately. It's easy to pull up edit-multiple, make some changes, and commit them without remembering to identify some bugs to change! Disable the "Commit" button unless some bugs are actually selected.
Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
Attached patch Patch-v1 (obsolete) — Splinter Review
Assignee: ui → joshi_sunil
Status: NEW → ASSIGNED
Attachment #785404 - Flags: review?(dkl)
Comment on attachment 785404 [details] [diff] [review] Patch-v1 >-<input type="submit" id="commit" value="Commit"> >+<input type="submit" id="commit" value="Commit" disabled > If JS is disabled, how do you commit changes as there is no way to re-enable the button?
Attachment #785404 - Flags: review?(dkl) → review-
Instead of disabling the Commit button, you should rather throw a message if no bugs are selected when clicking that button. If JS is disabled, then no message will be thrown and Bugzilla will still work as usual.
Summary: Disable "Commit" For Multiple Bug Edit Unless Bugs Are Selected → Throw a warning when clicking "Commit" if no bugs are selected on the "Edit multiple bugs at once" page
Target Milestone: --- → Bugzilla 5.0
This is WFM now. With or Without javascript its displaying warning as "You apparently didn't choose any bugs to modify." when no checkboxes are checked.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Attachment #785404 - Attachment is obsolete: true
(In reply to Sunil Joshi from comment #4) > With or Without javascript its displaying warning as "You apparently didn't > choose any bugs to modify." when no checkboxes are checked. This is not a warning, this is an error, which is thrown *after* you submitted your changes. What is requested here is to throw a message before the form is submitted, so that you don't have to click the "Back" button (and potentially loose some data).
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Target Milestone: Bugzilla 5.0 → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: