You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/12/08 20:53:38 UTC

svn commit: r355182 - /incubator/roller/trunk/web/WEB-INF/classes/comments.vm

Author: snoopdave
Date: Thu Dec  8 11:53:35 2005
New Revision: 355182

URL: http://svn.apache.org/viewcvs?rev=355182&view=rev
Log:
Fixed ROL-876 javascript error in comments.vm

Modified:
    incubator/roller/trunk/web/WEB-INF/classes/comments.vm

Modified: incubator/roller/trunk/web/WEB-INF/classes/comments.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/comments.vm?rev=355182&r1=355181&r2=355182&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/comments.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/comments.vm Thu Dec  8 11:53:35 2005
@@ -274,17 +274,17 @@
     var url = getCookie("commentUrl");
     // check each field - IE will render "null"
     if (author) {
-        theForm.name.value = author;
+        document.form.name.value = author;
     }
     if (email) {
-        theForm.email.value = email;
+        document.form.email.value = email;
     }
     if (url) {
-        theForm.url.value = url;
+        document.form.url.value = url;
     }
 
     if (author || email || url) {
-        theForm.rememberInfo.checked = true;
+        document.form.rememberInfo.checked = true;
     }
 
     function fixURL(theForm) {