Closed
Bug 353528
Opened 20 years ago
Closed 19 years ago
<select> fields with just one value shouldn't appear editable
Categories
(Bugzilla :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: timeless, Assigned: reed)
References
()
Details
(Keywords: ue)
Attachments
(2 files, 1 obsolete file)
|
38.17 KB,
text/html
|
Details | |
|
754 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
steps:
1. find a product that has only 1 version and only 1 tm, Websites works on bmo
2. find any bug in that product, e.g. bug 13146
compare: bgo 356938 <http://bugzilla.gnome.org/show_bug.cgi?id=356938>
expected results: consider not using any tags and instead just inline the value (in a span).
whether there should be a style (inset border or similar) is subject to negotiation.
note: this should be done globally for whatever generator we have so that you avoid the error that the gnome team created which can be seen in bgo 356938 <http://bugzilla.gnome.org/show_bug.cgi?id=356938> where target milestone has no select, but version does.
at this time, there's only one version (unspecified) and one target milestone (---).
for reference, there are actually tms, but only special people can see them, so i misinterpretted why i got the read only field.
i'd rather assume my explanation than theres, as theirs is completely unintuitive.
Updated•20 years ago
|
OS: SunOS → All
Hardware: PC → All
Summary: Consider removing <select> tags from options containing just one value → <select> fields with just one value shouldn't appear editable
| Assignee | ||
Comment 2•19 years ago
|
||
Fixed on prodpatches for bmo upgrade. I'll attach a patch soon.
| Assignee | ||
Comment 3•19 years ago
|
||
Add the "disabled" param to the <select> tag when there is only one option.
| Assignee | ||
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 3.0
Comment 4•19 years ago
|
||
Comment on attachment 249658 [details] [diff] [review]
patch - v1
Disabled fields are not passed to the CGI script, and process_bug.cgi will complain that some parameters are missing.
Attachment #249658 -
Flags: review?(bugzilla-mozilla) → review-
| Assignee | ||
Comment 5•19 years ago
|
||
Oops, I didn't know disabled <select> elements were not passed back to the CGI script. Thanks for catching that! :)
Attachment #249658 -
Attachment is obsolete: true
Attachment #249660 -
Flags: review?(LpSolit)
Comment 6•19 years ago
|
||
Comment on attachment 249660 [details] [diff] [review]
patch - v2
r=LpSolit
Attachment #249660 -
Flags: review?(LpSolit) → review+
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 7•19 years ago
|
||
Checking in template/en/default/bug/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl,v <-- edit.html.tmpl
new revision: 1.96; previous revision: 1.95
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•