Closed
Bug 112803
Opened 23 years ago
Closed 23 years ago
print dialog: radio buttons should use oncommand="..."
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: tan, Assigned: roland.mainz)
References
Details
(Keywords: access)
Attachments
(1 file)
17.83 KB,
patch
|
roland.mainz
:
review+
|
Details | Diff | Splinter Review |
Currently printdialog.xul uses onclick to capture events on the radio buttons,
however, for a keyboard navigator, these events will never get fired.
1. Open Print dialog
2. Tab to you get to Print Range box
3. Press down to Page radio
4. Notice From and To text boxes are not enabled
--- /home/mozilla096/usr/lib/mozilla/chrome/content/global/printdialog.xul Fri
+++ content/global/printdialog.xul Fri Nov 30 18:38:53 2001
@@ -81,15 +81,15 @@
<caption label="&printrangeGroup.label;"/>
<radiogroup id="printrangeGroup">
- <radio id="allpagesRadio" label="&allpagesRadio.label;" oncommand="doPr
+ <radio id="allpagesRadio" label="&allpagesRadio.label;" onclick="doPrin
<hbox align="center">
- <radio id="rangeRadio" label="&rangeRadio.label;" oncommand="doPrintR
+ <radio id="rangeRadio" label="&rangeRadio.label;" onclick="doPrintRan
<label id="frompageLabel" control="frompageInput" value="&frompageInp
<textbox id="frompageInput" style="width:5em;" onkeyup="checkInteger(
<label id="topageLabel" control="topageInput" value="&topageInput.lab
<textbox id="topageInput" style="width:5em;" onkeyup="checkInteger(th
</hbox>
- <radio id="selectionRadio" label="&selectionRadio.label;" oncommand = "
+ <radio id="selectionRadio" label="&selectionRadio.label;" onclick = "do
</radiogroup>
</groupbox>
Comment 2•23 years ago
|
||
roland
Assignee: rods → Roland.Mainz
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
Assignee | ||
Comment 3•23 years ago
|
||
bz:
Is there any XUL/JS guru who can confirm that s/onclick/oncommand/ is the
"right" thing to do ?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Comment 4•23 years ago
|
||
just ask blake on irc. btw, timeless was saying that using onclick instead of
oncommand in XUL is an offense worth being shot for. So yes, this should use
oncommand. :)
Comment 5•23 years ago
|
||
hmm, I fixed some of those but obviously not all of them :(
I have some other fixes, comments, cleanup changes in my tree for dialogs.
I could submit them here?
Assignee | ||
Comment 6•23 years ago
|
||
Asko Tontti wrote:
> I have some other fixes, comments, cleanup changes in my tree for dialogs.
> I could submit them here?
If the patches are for the print stuff "only" and/or if they are not "too" big
then yes... othwise it may be better to open a new bug and make this bug
"depend" on your one...
Comment 7•23 years ago
|
||
Changes are only for print dialog and print job dialog.
I am now making test build but unfortantely it takes some time. After I have
tested my patch I will attach it.
Comment 8•23 years ago
|
||
I have done some testing with it but it would be helpful if somebody else
would also do testing.
Assignee | ||
Comment 9•23 years ago
|
||
Comment on attachment 59977 [details] [diff] [review]
patch for replacing onclick + cleanup, more comments, removed dead code, ...
r=Roland.Mainz@informatik.med.uni-giessen.de
Attachment #59977 -
Flags: review+
Assignee | ||
Comment 10•23 years ago
|
||
Comment on attachment 59977 [details] [diff] [review]
patch for replacing onclick + cleanup, more comments, removed dead code, ...
rods:
I need a moa= from you for the patch, please ...
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Assignee | ||
Comment 12•23 years ago
|
||
Reporter:
bug 113917 has been marked as FIXED - is this issue fixed for you, too - or is
there still work required ?
Assignee | ||
Comment 13•23 years ago
|
||
Seems to be fixed.
Marking bug as FIXED, please reopen when this bug is still an issue for you...
Reporter:
Can you please verify this bug ? Thanks!
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
Roland please verify...thanks!
Comment 15•23 years ago
|
||
tan, please verify...thanks...
You need to log in
before you can comment on or make changes to this bug.
Description
•