Closed
Bug 278938
Opened 20 years ago
Closed 20 years ago
BUG MAIL JAVASCRIPT - FUNCTION GENRE
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 278937
People
(Reporter: lucianolllg, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111
<p>
CORRECT
</p>
<script type="text/JavaScript">
function mailpage()
{
mail_str = "mailto:?subject= Faz Fácil - O site que ensina a fazer ! " ;
mail_str += "&body= Achei este site muito interessante: "+ document.title;
mail_str += ". O endereço é: "+ location.href;
location.href = mail_str;
}
</script>
<a href="javascript: mailpage()">Mail</a><br/>
<p>
BUG - ERROR IN FUNCTION - Mail To - question ? - Mozilla 1.8a6 -
</p>
<a
href="javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)">Send
Location</a>
<p>
BUG - ERROR IN FUNCTION - Mail To - question ? - Mozilla 1.8a6 -
</p>
<a href="
javascript: document.location.href='mailto: ?subject='+ document.title
+'&body=<br/>'+ document.title + '<br/><br/>'+ escape(document.location) +'
<br/>'; void(0)
">MailTo</a><br/>
<p>
BUG - ERROR IN FUNCTION - Mail To - question ? - Mozilla 1.8a6 -
</p>
<a href="
javascript: function mailpage() { var mailstr='mailto:?subject=ddd';
location.href=mailstr; }; mailpage();
">MailTo d</a><br/>
<p>
BUG - ERROR IN FUNCTION - Mail To - question ? - Mozilla 1.8a6 -
</p>
<a href="mailto: ?subject=ddd">ddd</a><br/>
Reproducible: Always
Steps to Reproduce:
1. Every
Actual Results:
?subject=
? no load script
Expected Results:
Format script
Functional Script
Mail Location body
<a href="
javascript: location.href='mailto:?subject='+ document.title +'&body=<br/>'+
document.title + '<br/><br/>'+ escape(document.location) +' <br/>'; void(0)
">Mail Location body</a><br/>
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 278937 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•