[pLog-svn] r1831 - plugins/trunk/smileys/js/smileys

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Apr 13 22:19:28 GMT 2005


Author: oscar
Date: 2005-04-13 22:19:28 +0000 (Wed, 13 Apr 2005)
New Revision: 1831

Modified:
   plugins/trunk/smileys/js/smileys/smileys.js
Log:
we forgot the "name" attribute in all the forms used to leave a comments so the smiley bar generated by the smileys plugin wasn't working. At this point, we had two options: 1) add the "name" attribute to all forms and therefore, update all templates to sf.net too, or 2) do what I did :) 


Modified: plugins/trunk/smileys/js/smileys/smileys.js
===================================================================
--- plugins/trunk/smileys/js/smileys/smileys.js	2005-04-13 21:54:38 UTC (rev 1830)
+++ plugins/trunk/smileys/js/smileys/smileys.js	2005-04-13 22:19:28 UTC (rev 1831)
@@ -8,7 +8,8 @@
 
 function writeImgTag( tag )
 {
-	var myField = document.NewComment.commentText;
+	//var myField = document.NewComment.commentText;
+	var myField = document.getElementById( "commentText" );
 
 	tag = ' ' + tag + ' ';
 	




More information about the pLog-svn mailing list