diff themes/blog.steve.org.uk/comment-form.inc @ 156:8b0c547cd015

Updated to show / hide progress as appropriate
author Steve Kemp <steve@steve.org.uk>
date Thu, 03 Jan 2008 22:13:57 +0000
parents 4d2f0d6866e5
children
line wrap: on
line diff
--- a/themes/blog.steve.org.uk/comment-form.inc	Thu Jan 03 21:45:58 2008 +0000
+++ b/themes/blog.steve.org.uk/comment-form.inc	Thu Jan 03 22:13:57 2008 +0000
@@ -13,7 +13,7 @@
 <tr><td colspan="2">Your Comment<br />
 <textarea name="body" rows="10" cols="60">
 </textarea></td></tr>
-<tr><td></td><td align="right"><input type="submit" name="submit" value="Post Comment" onClick="submitAjax(); return false;"></td></tr>
+<tr><td></td><td align="right"><div id="progress" style="display:none;"><img src="progress.gif" alt="" width="36" height="36"></div><input type="submit" name="submit" value="Post Comment" onClick="submitComment(); return false;"></td></tr>
 </table>
 </form>
 <p>Your submission will be ignored if any field is left blank.  But your email address will not be displayed.</p>