Closed (duplicate)
Project:
Mollom
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2008 at 20:27 UTC
Updated:
17 Nov 2009 at 17:01 UTC
The current help text below captcha reads "submit the form to get a new captcha". This doesn't make sense to simple users :)
Here is a patch which adds a link "click here for new captcha" which submits the form for you to refresh the captcha or with JS off, reloads the page.
This isn't the cleanest approach since ideally there would be a way to refresh *just* the captcha. However, in Drupal 5 this might not be possible.
| Comment | File | Size | Author |
|---|---|---|---|
| patch83.patch | 978 bytes | m3avrck |
Comments
Comment #1
plan9 commentedThanks m3avrck
This works much better :)
Comment #2
dave reidIt should probably handle the captcha refresh like the D6 version using JavaScript and AHAH replacement, but yeah I don't know if that's possible with Drupal 5. I'm also tenative on this patch since forms may have multiple submit buttons. How do we know that this won't hit a 'Delete' submit button instead of a 'Save' ? We don't have any way to be sure which is the correct submit to 'click'.
Comment #3
dave reidLet's join forces with #502390: Added Refresh Captcha Option in Mollom module.