r1531 - trunk/plugins

[email protected] Wed, 4 Oct 2006 11:58:47 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Oct  4 11:58:46 2006
New Revision: 1531

Modified:
   trunk/plugins/FCKBrowser.js
Log:
just forgot to upload the XMLNode

Modified: trunk/plugins/FCKBrowser.js
==============================================================================
--- trunk/plugins/FCKBrowser.js	(original)
+++ trunk/plugins/FCKBrowser.js	Wed Oct  4 11:58:46 2006
@@ -74,8 +74,9 @@
 		     
         var sel = window.getSelection();
         sel.selectEditableRange(BxeFCKBrowser.cssr);
-        /*sel.linkText(url);
-		return true;*/
+        sel.linkText(url);
+		sel.anchorNode.parentNode.updateXMLNode();
+		return true;
         //old method, maybe needed one day for inserting other stuff than links :)
 		//make string
 		var te = "" + sel;
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs