more bug fixes
This commit is contained in:
parent
8e2f4a5295
commit
c456b708de
5 changed files with 8 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
|||
var ie5=document.all&&document.getElementById
|
||||
var contextMenu_items = new Array();
|
||||
|
||||
var contextMenu_old = (document.onmousedown) ? document.onmousdown : function () {};
|
||||
document.onmousedown= function () {contextMenu_old();contextMenu_hide();};
|
||||
var contextMenu_old = (document.onclick) ? document.onclick : function () {};
|
||||
document.onclick= function () {contextMenu_old();contextMenu_hide();};
|
||||
|
||||
function contextMenu_renderLeftClick(menuId,e) {
|
||||
contextMenu_hide(e);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ function tinyMCE_WebGUI_URLConvertor(url, node, on_save) {
|
|||
|
||||
function tinyMCE_WebGUI_Cleanup(type,value) {
|
||||
// alert(value);
|
||||
if (value != "[object HTMLBodyElement]") {
|
||||
// return value;
|
||||
if (value != "[object HTMLBodyElement]" && value != "[object]") {
|
||||
value = value.replace(new RegExp(""", "g"),"\"");
|
||||
}
|
||||
return value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue