[pLog-svn] r2541 - plog/branches/plog-1.0.2/js/editor

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Mon Nov 7 13:32:48 GMT 2005


Author: jondaley
Date: 2005-11-07 13:32:47 +0000 (Mon, 07 Nov 2005)
New Revision: 2541

Modified:
   plog/branches/plog-1.0.2/js/editor/plogeditor.js
Log:
fixed issue #733, typo while inserting links, thanks Dan!

Modified: plog/branches/plog-1.0.2/js/editor/plogeditor.js
===================================================================
--- plog/branches/plog-1.0.2/js/editor/plogeditor.js	2005-11-02 04:45:51 UTC (rev 2540)
+++ plog/branches/plog-1.0.2/js/editor/plogeditor.js	2005-11-07 13:32:47 UTC (rev 2541)
@@ -266,7 +266,7 @@
 		this.toggle();		
 
 		// if everything went fine, add the link and return
-		var linkTag = '<a href="' + linkDest + '">' + linkDest + '</a>'; 
+		var linkTag = '<a href="' + linkDest + '">' + linkText + '</a>'; 
 		return linkTag;
 	}
 	
@@ -728,4 +728,4 @@
 
 	return selection;
   }
-}
\ No newline at end of file
+}




More information about the pLog-svn mailing list