Subject: | Documentation example wrong for embedded progress bar |
Date: | Mon, 23 Oct 2006 01:44:21 -0700 |
To: | bug-Apache2-UploadProgress [...] rt.cpan.org |
From: | Duc Chau <duc.chau [...] flukiest.com> |
Great module!
I think there might be a slight bug in the README examples for the
embedded progress bar. When implementing the embedded status bar you
need to also include
<script src="/UploadProgress/progress.jmpl.js" ></script>
else it'll spit back a bunch of errors saying it cant find the
progress.jmpl template.
So:
<script src="/UploadProgress/progress.js"></script>
<link type="text/css" href="/UploadProgress/progress.css"/>
<form action="/cgi-bin/script.cgi"
method="post"
enctype="multipart/form-data"
onsubmit="return startEmbeddedProgressBar(this)">
<input type="file" name="file"/>
<input type="submit" name=".submit"/>
</form>
<div id="progress"></div>
should be:
<script src="/UploadProgress/progress.js"></script>
<script src="/UploadProgress/progress.jmpl.js"></script>
<link type="text/css" href="/UploadProgress/progress.css"/>
<form action="/cgi-bin/script.cgi"
method="post"
enctype="multipart/form-data"
onsubmit="return startEmbeddedProgressBar(this)">
<input type="file" name="file"/>
<input type="submit" name=".submit"/>
</form>
<div id="progress"></div>
Im using "Apache2-UploadProgress-0.2". You don't know how happy I am
that I found this module. Again thanks!
Duc