- fix [ 1292209 ] purgeTree called in runHourly.pl (6.7.4) - fix [ 1290600 ] 6.6.5-6.7.0 upgrade script (fix) (Nicklous Roberts) - fix [ 1288786 ] Names of copied style templates doesnt update. - fix [ 1292538 ] Template::getList isn't versioned - fix [ 1241451 ] Images not showing up in TinyMCE - fix [ 1252786 ] rich edit ie image problem - fix [ 1284248 ] runHourly.pl moving assets I don't want in trash to trash
24 lines
846 B
JavaScript
24 lines
846 B
JavaScript
// WebGUI Specific javascript functions for TinyMCE
|
|
|
|
function tinyMCE_WebGUI_URLConvertor(url, node, on_save) {
|
|
// The next line would have tried formatting the URL, but we don't want it to
|
|
url = tinyMCE.convertURL(url, node, on_save);
|
|
// Do custom WebUI convertion, replace back ^();
|
|
url = url.replace(new RegExp("%5E", "g"), "^");
|
|
url = url.replace(new RegExp("%3B", "g"), ";");
|
|
url = url.replace(new RegExp("%28", "g"), "(");
|
|
url = url.replace(new RegExp("%29", "g"), ")");
|
|
url = url.replace(/^\/\^/,"^");
|
|
url = url.replace(/http:\/\/\//,"/");
|
|
return url;
|
|
}
|
|
|
|
function tinyMCE_WebGUI_Cleanup(type,value) {
|
|
// alert(value);
|
|
// return value;
|
|
if (value != "[object HTMLBodyElement]" && value != "[object]") {
|
|
value = value.replace(new RegExp(""", "g"),"\"");
|
|
}
|
|
return value;
|
|
}
|
|
|