Index: /FCKeditor/trunk/editor/dialog/fck_link/fck_link.js
===================================================================
--- /FCKeditor/trunk/editor/dialog/fck_link/fck_link.js	(revision 874)
+++ /FCKeditor/trunk/editor/dialog/fck_link/fck_link.js	(revision 875)
@@ -466,4 +466,5 @@
 {
 	var sUri, sInnerHtml ;
+	oEditor.FCKUndo.SaveUndoStep() ;
 
 	switch ( GetE('cmbLinkType').value )
@@ -512,5 +513,5 @@
 
 	// If no link is selected, create a new one (it may result in more than one link creation - #220).
-	var aLinks = oLink ? [ oLink ] : oEditor.FCK.CreateLink( sUri ) ;
+	var aLinks = oLink ? [ oLink ] : oEditor.FCK.CreateLink( sUri, true ) ;
 
 	// If no selection, no links are created, so use the uri as the link text (by dom, 2006-05-26)
@@ -545,6 +546,4 @@
 		aLinks = [ oEditor.FCK.InsertElement( 'a' ) ] ;
 	}
-
-	oEditor.FCKUndo.SaveUndoStep() ;
 
 	for ( var i = 0 ; i < aLinks.length ; i++ )
