add:   if (!tinyMCE.settings['relative_urls'] && url.indexOf(': url = '/' + url; 
context: function TinyMCE_convertURL(url, node, on_save) {	var fileProto = (document.location.protocol == "file:");	// Mailto link or anchor (Pass through)	if (url.indexOf('mailto:') != -1 || url.indexOf('javascript:') != -1 || tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0) == "#")		return url;	// Fix relative/Mozilla	if (!tinyMCE.isMSIE && !on_save && url.indexOf("://") == -1 && url.charAt(0) != '/')		return tinyMCE.settings['base_href'] + url;	// Convert to relative urls	if (on_save && tinyMCE.settings['relative_urls']) {		var urlParts = tinyMCE.parseURL(url);		// If not absolute url, do nothing (Mozilla)		if (!urlParts['protocol'] && !tinyMCE.isMSIE) {			var urlPrefix = "http://";			urlPrefix += document.location.hostname;			if (document.location.port != "")				urlPrefix += document.location.port;			url = urlPrefix + url;			urlParts = tinyMCE.parseURL(url);		}		var tmpUrlParts = tinyMCE.parseURL(tinyMCE.settings['document_base_url']);		// Link is within this site		if (urlParts['host'] == tmpUrlParts['host'] && (!urlParts['port'] || urlParts['port'] == tmpUrlParts['port']))			return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'], url);	}	// Remove current domain	if (!fileProto && tinyMCE.settings['remove_script_host']) {		var start = document.location.protocol + "//" + document.location.hostname + "/";		if (url.indexOf(start) == 0)			url = url.substring(start.length-1);	}	return url;}
meta: 1948	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1948/873ce1c62e52365d732f67421272ae1302559b15/tiny_mce_src.js/clean/www/extras/tinymce/jscripts/tiny_mce/tiny_mce_src.js