Skip Menu |

This queue is for tickets about the CGI-Ajax CPAN distribution.

Report information
The Basics
Id: 15038
Status: resolved
Priority: 0/
Queue: CGI-Ajax

People
Owner: Nobody in particular
Requestors: lars [...] thegler.dk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.591
Fixed in: (no value)



Subject: [PATCH] Docs error
A small error seems to have sneaked into the documentation. In the 'GET versus POST' section, the first mention of the exported_func() should NOT have the 'GET' argument. Easily fixed by the following patch: --cut-- --- lib/CGI/Ajax.pm.orig Thu Oct 13 09:24:04 2005 +++ lib/CGI/Ajax.pm Thu Oct 13 09:24:30 2005 @@ -307,7 +307,7 @@ Note that all the examples so far have used the following syntax: - onClick="exported_func(['input1'],['result1'], 'GET'); return true;" + onClick="exported_func(['input1'],['result1']); return true;" There is an optional third argument to a L<CGI::Ajax> exported function that allows change the submit method. The above event could --cut-- /Lars
Date: Thu, 13 Oct 2005 14:40:51 -0700
From: Brian Thomas <bct.x42 [...] gmail.com>
To: bug-CGI-Ajax [...] rt.cpan.org
Subject: Re: [cpan #15038] [PATCH] Docs error
RT-Send-Cc:
Thanks - fix is made and will be in the next release. BCT On 10/13/05, Lars Thegler via RT <bug-CGI-Ajax@rt.cpan.org> wrote: Show quoted text
> > > This message about CGI-Ajax was sent to you by LTHEGLER <LTHEGLER@cpan.org> > via rt.cpan.org <http://rt.cpan.org> > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15038 > > > A small error seems to have sneaked into the documentation. > > In the 'GET versus POST' section, the first mention of the exported_func() > should NOT have the 'GET' argument. > > Easily fixed by the following patch: > > --cut-- > --- lib/CGI/Ajax.pm.orig Thu Oct 13 09:24:04 2005 > +++ lib/CGI/Ajax.pm Thu Oct 13 09:24:30 2005 > @@ -307,7 +307,7 @@ > > Note that all the examples so far have used the following syntax: > > - onClick="exported_func(['input1'],['result1'], 'GET'); return true;" > + onClick="exported_func(['input1'],['result1']); return true;" > > There is an optional third argument to a L<CGI::Ajax> exported > function that allows change the submit method. The above event could > --cut-- > > /Lars >