Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Trying to fix aboslute link issue!!!

  • Loading branch information...
commit 023d858d46d314550b22a026a870419dccc4e424 1 parent 1546f4c
julmis authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/editor/htmlarea.php
View
5 lib/editor/htmlarea.php
@@ -2278,7 +2278,10 @@ function getMozSelection(txtarea) {
if (typeof root[a.nodeName] != "undefined" && name != "href" && name != "src") {
value = root[a.nodeName];
} else {
- value = a.nodeValue;
+ //value = a.nodeValue;
+ // This seems to be working, but if it does cause
+ // problems later on return the old value...
+ value = root[a.nodeName];
if (HTMLArea.is_ie && (name == "href" || name == "src")) {
value = editor.stripBaseURL(value);
}
Please sign in to comment.
Something went wrong with that request. Please try again.