Closed Bug 343916 Opened 19 years ago Closed 19 years ago

hidden submit button should have display: none

Categories

(Bugzilla :: User Interface, defect)

2.23
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: robzilla, Assigned: robzilla)

Details

Attachments

(1 file)

In the whining page, there is a hidden submit button with: style="visibility: hidden" The fact that it is hidden means that it still takes up real estate, which is probably not what we want. We should have instead: style="display: none;"
Attached patch patch v1Splinter Review
Assignee: ui → robzilla
Status: NEW → ASSIGNED
Attachment #228476 - Flags: review?
OS: Windows XP → All
Target Milestone: --- → Bugzilla 2.24
Comment on attachment 228476 [details] [diff] [review] patch v1 bkor is listed as a template reviewer, on http://www.bugzilla.org/docs/reviewer-list.html
Attachment #228476 - Flags: review? → review?(bugzilla-mozilla)
Comment on attachment 228476 [details] [diff] [review] patch v1 > [%# This hidden submit button must be here to set default behavior when > the user presses return on a form input field #%] > <input type="submit" value="Update / Commit" name="commit" >- style="visibility: hidden"> >+ style="display: none;"> Rob, have you read the comment above your change. The comment suggests that visibility:hidden is needed to make this 'work' in at least one UA we care about. Care to test?
(In reply to comment #3) > > Rob, have you read the comment above your change. The comment suggests that > visibility:hidden is needed to make this 'work' in at least one UA we care > about. Care to test? > Ya, I saw the comment, and this change doesn't seem to make a difference. As far as the form is concerned, it doesn't matter if the element is displayed or not.
Comment on attachment 228476 [details] [diff] [review] patch v1 Tested and works with Firefox 1.5.0.4, Konqueror 3.5.3. Do not have access to Internet Explorer. Requesting review from glob for that. Note: patch has DOS lineendings. I had to use dos2unix on the patch otherwise it wouldn't apply.
Attachment #228476 - Flags: review?(bugzilla)
Attachment #228476 - Flags: review?(bugzilla-mozilla)
Attachment #228476 - Flags: review+
Olav, if all you want for full r+ is an affirmation this works in IE, I am willing to test if you e-mail me a url to a test-instance (and exact steps to test that you want me to try, so that I don't miss something you want to be sure of). Incase it is faster that way anyway.
Comment on attachment 228476 [details] [diff] [review] patch v1 r=glob
Attachment #228476 - Flags: review?(bugzilla)
Flags: approval?
Comment on attachment 228476 [details] [diff] [review] patch v1 r=glob note to self: drink coffee, then review.
Attachment #228476 - Flags: review+
Flags: approval? → approval+
Checking in template/en/default/whine/schedule.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/whine/schedule.html.tmpl,v <-- schedule.html.tmpl new revision: 1.6; previous revision: 1.5 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.

Attachment

General

Created:
Updated:
Size: