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)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: stephend)
References
()
Details
Attachments
(2 files)
|
377 bytes,
patch
|
Details | Diff | Splinter Review | |
|
370 bytes,
patch
|
Details | Diff | Splinter Review |
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.
Comment 1•24 years ago
|
||
Also, if we are going to do some work on this dialog, we should try to use a url
autocomplete widget.
Assignee: ducarroz → varada
| Assignee | ||
Comment 2•24 years ago
|
||
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.
| Assignee | ||
Comment 3•24 years ago
|
||
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
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
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)
| Assignee | ||
Comment 8•24 years ago
|
||
Yup, thanks Seth. That is indeed my patch. Land it anytime the tree is open.
Thanks!
Comment 9•24 years ago
|
||
fixed.
thanks for the fix.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•24 years ago
|
||
I messed up, changing from assigned fixed to resolved fixed..sorry for the spam.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•