roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r355182 - /incubator/roller/trunk/web/WEB-INF/classes/comments.vm
Date Thu, 08 Dec 2005 19:53:38 GMT
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) {



Mime
View raw message