Re: ajax/comment bug?
Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 12 Jun 2007, Grant Goodyear wrote: > I'm using akismet along with ajax comments at > http://www.grantgoodyear.org/g2blog, and I seem to have hit an odd bug. Try > entering a comment that you know will trip akismet, and if you have > javascript enabled you'll see a response of "Empty response from server" interesting. the comments plugin, especially the ajax part, doesn't have great support for displaying an error message if the comment is rejected. the false positive rates for akismet and check_javascript are really low, so i never bothered handling that case. it's a fair point, though. i'll add it. > Also, it seems that setting "py['comment_ajax'] = False" doesn't seem > to actually turn off ajax support, as far as I can tell. it's not intended to. to turn off ajax support, just remove the onclick and onsubmit handlers from the form in your flavour's comment-form template. -Ryan -- http://snarfed.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/