Update of 
/var/cvs/contributions/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha
In directory 
james.mmbase.org:/tmp/cvs-serv6646/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha

Modified Files:
        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.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- my-htmlarea.js      6 Mar 2009 07:14:30 -0000       1.13
+++ my-htmlarea.js      11 Mar 2009 03:43:56 -0000      1.14
@@ -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

Reply via email to