Project

General

Profile

Bug #20377 » 0011009_v2.patch

Administrator Admin, 2009-06-16 13:26

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (Arbeitskopie)
this.editor._doc.execCommand("UnLink", false, null);
}
if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
this.editor._doc.execCommand("CreateLink", false, encodeURIComponent(theLink));
this.editor._doc.execCommand("CreateLink", false, encodeURI(theLink));
//this.editor._doc.execCommand("CreateLink", false, theLink);
} else {
this.editor._doc.execCommand("CreateLink", false, theLink);
}
......
}
}
if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
node.href = decodeURIComponent(node.href);
node.href = decodeURI(node.href);
}
if (cur_target.trim()) node.target = cur_target.trim();
else node.removeAttribute("target");
(2-2/9)