Closed Bug 158941 Opened 22 years ago Closed 21 years ago

install items should be a <dialog> not a <window>

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: spiffonator)

References

()

Details

(Keywords: helpwanted)

Attachments

(2 files, 1 obsolete file)

sirlurxalot discovered this while using the sidebar on right css from
customizing unix http://www.mozilla.org/unix/customizing.html

<dialog>
http://www.xulplanet.com/tutorials/xultu/elemref/ref_dialog.html
<window>
http://www.xulplanet.com/tutorials/xultu/elemref/ref_window.html
conversion is simple and can be extrapolated from reading any <dialog> which was
migrated, to find one, i loaded:
http://lxr.mozilla.org/seamonkey/search?string=%3Cdialog
clicked on a hit, clicked on cvs blame
and then clicked on the blame for <dialog> which gave me:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/editor/ui/dialogs/content&command=DIFF_FRAMESET&file=EdNamedAnchorProps.xul&rev2=1.47&rev1=1.46

-this help is provided because we're recruiting mozillazine people to do patches.
Keywords: helpwanted
whoops http://lxr.mozilla.org/seamonkey/search?string=%5C%3Cdialog (lxr needs a
patch to sanely handle <, until then you have to prefix it and other chars w/ '\')
Attached patch Changed to dialog (obsolete) — Splinter Review
Not sure I got the bindings to JS right. In particular not sure if
ondialogaccept should map to onOk()
Attachment #92459 - Attachment is obsolete: true
Comment on attachment 92462 [details] [diff] [review]
Same patch as before, but fixed the DOCTYPE

sr=alecf

what is the visual result of fixing this bug?
Attachment #92462 - Flags: superreview+
It corrects the problem shown in timeless' attachment.
Assignee: dveditz → spiffonator
Taking ownership of bug.
Does this change make the escape key cancel?
Attachment #92462 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 92462 [details] [diff] [review]
Same patch as before, but fixed the DOCTYPE

This patch is incomplete. You should remove dialogOverlay, doSetOKCancel and
onCancel, and fix onOk.
/me idly wonders why the url has crop="end"...
Attachment #92462 - Flags: review?(neil.parkwaycc.co.uk) → review-
This was fixed as part of the checkin for bug 214721.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: