Form errors stay after form submission if disable_redirect is enabled
jide - March 22, 2009 - 13:34
| Project: | Ajax |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | jide |
| Status: | closed |
Jump to:
Description
When you submit a form with validation errors, then correct these errors and submit the form again, errors still show.
A simple fix is to remove errors classes in the form :
$('.form-item :input', args.local.form[0]).removeClass('error');Here is a patch.
| Attachment | Size |
|---|---|
| ajax_disable_redirect.patch | 473 bytes |

#1
Jide,
I think this may have been fixed in one of the past dev releases, as I am not able to reproduce this issue. Please re-open bug if this issue still occurs.
Thanks,
brendon
#2
Brendon,
I confirm the issue has been fixed.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
thanks, both the latest release and dev version I downloaded today needed this.