mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-03 20:55:08 +00:00
Monotone-Parent: e2a18177cfa0a03cb838fca1581f5c9280c9ed72
Monotone-Revision: 6eb24ecac0894c6a3b2d8bc94ea23f4969e9a03d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-15T22:27:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -146,6 +146,21 @@ function sanitizeMailTo(dirtyMailTo) {
|
||||
return mailto;
|
||||
}
|
||||
|
||||
function openMailTo(senderMailto) {
|
||||
var mailto = sanitizeMailTo(senderMailto);
|
||||
|
||||
if (mailto.length > 0)
|
||||
{
|
||||
w = window.open(ApplicationBaseURL + "/../Mail/compose?mailto=" + mailto,
|
||||
"SOGo_compose",
|
||||
"width=680,height=520,resizable=1,scrollbars=1,toolbar=0," +
|
||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
w.focus();
|
||||
}
|
||||
|
||||
return false; /* stop following the link */
|
||||
}
|
||||
|
||||
function createHTTPClient() {
|
||||
// http://developer.apple.com/internet/webcontent/xmlhttpreq.html
|
||||
if (typeof XMLHttpRequest != "undefined")
|
||||
@@ -965,6 +980,10 @@ function onTabMouseDown(event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function openExternalLink(anchor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onTabClick(event) {
|
||||
var node = event.target;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user