[pubcookie-dev] missing () on JS function

Klas Lindfors kllin at it.su.se
Tue Nov 28 23:07:01 PST 2006


Hello.

very small patch attached, adding () on JS function when dealing with
posting data back to the application.

/klas


(sorry moderators, I seem to have a hard time sending mail from correct adress.)

-------------- next part --------------
Index: pubcookie/src/index.cgi.c
===================================================================
RCS file: /usr/local/cvsroot/webiso/pubcookie/src/index.cgi.c,v
retrieving revision 1.180
diff -u -p -b -w -r1.180 index.cgi.c
--- pubcookie/src/index.cgi.c	8 Sep 2006 21:06:54 -0000	1.180
+++ pubcookie/src/index.cgi.c	28 Nov 2006 15:25:03 -0000
@@ -3001,7 +3001,7 @@ void print_redirect_page (pool * p, cons
         if (strstr (post_stuff_lower, "submit") != NULL)
             print_html (p, "document.query.submit.click()");
         else
-            print_html (p, "document.query.submit");
+            print_html (p, "document.query.submit()");
 
         print_html (p, "\n-->\n</SCRIPT>\n");
 


More information about the pubcookie-dev mailing list