Update of
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha
In directory james.mmbase.org:/tmp/cvs-serv7244
Modified Files:
Tag: b1_6
my-htmlarea.js
Log Message:
CMSC-1321 - Assets: URL objects should not be created when linking to pages or
elements in the richtexteditor
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha
See also: http://www.mmbase.org/jira/browse/CMSC-1321
Index: my-htmlarea.js
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/my-htmlarea.js,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -u -b -r1.11.2.2 -r1.11.2.3
--- my-htmlarea.js 6 Mar 2009 07:14:55 -0000 1.11.2.2
+++ my-htmlarea.js 11 Mar 2009 03:52:23 -0000 1.11.2.3
@@ -239,7 +239,7 @@
var range = editor._createRange(sel);
if(editor._selectionEmpty(sel))
{
- editor.insertHTML("<a href='" + param.f_href +
"' title='" + param.f_tooltip + "' name='"+param.f_title+"'>" + param.f_title+
"</a>");
+ editor.insertHTML("<a href='" + param.f_href +
"' title='" + param.f_tooltip + "' name='"+param.f_title+"' destination='"+
param.f_destination + "'>" + param.f_title+ "</a>");
}
else{
if ( !HTMLArea.is_ie )
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs