Closed Bug 93005 Opened 24 years ago Closed 24 years ago

"http://" needs to be prefixed in the "Attach a Web Page" dialog in compose window.

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: stephend)

References

()

Details

Attachments

(2 files)

Build ID: 2001-07-31-03 (Windows 2000) Summary: "http://" needs to be prefixed in the "Attach a Web Page" dialog in compose window. Steps to Reproduce: 1. Start the compose window. 2. File | Attach Web Page 3. Look at the textfield in that new dialog. Actual Results: Currently, we are filling it with a null value: var dialog = ""; Expected Results: According to the spec: http://www.mozilla.org/mailnews/specs/compose/#Attachments, we should be pre-filling "http://" for the following reasons (quoted from the spec): The default text "http://" appears in the "Web Page (URL):" text entry field. This gives users a better idea what is expected in this text field and it is also very likely that the desired URL will start this way, so it saves them some time. NOTE: I've got what I think is a fix in my local tree. When Brendan's fastload bustage is cleared for Win32, I'll text the fix (build chrome), and then if it's good, I'll post the patch for review/sr.
Also, if we are going to do some work on this dialog, we should try to use a url autocomplete widget.
Assignee: ducarroz → varada
Yeah, that should be filed seperately though. I was actually planning on fixing this one, so when my build finishes and I have tested my code, I'll re-assign and seek reviews.
Okay, cool, my fix works. All I did was add "http://" to msgComposeCommands.js line 1679: function AttachPage() { if (promptService) { var result = {value:"http://"}; if (promptService.prompt( window, gComposeMsgsBundle.getString("attachPageDlogTitle"), gComposeMsgsBundle.getString("attachPageDlogMessage"), result, null, {value:0})) { AddAttachment(result.value, null); } } } A diff of that file wouldn't be easy to read, since my tree has all of Blake's message compose changes in it. I've tested this thoroughly.
Assignee: varada → stephend
r=varada
sr=sspitzer I tested it and it works fine. stephend, I've got this in my local tree. let me know if you want me to land it for you (since your tree has got of blake's changes)
Yup, thanks Seth. That is indeed my patch. Land it anytime the tree is open. Thanks!
fixed. thanks for the fix.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
mass accepting my bugs.
Status: RESOLVED → ASSIGNED
I messed up, changing from assigned fixed to resolved fixed..sorry for the spam.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
verified using 2001-08-02-08 mac, linux, win98
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: