Opened 14 years ago
Closed 13 years ago
#4730 closed bug (invalid)
[validate] remote callback does not remove error from this.invalids
Reported by: | aditya_advani | Owned by: | joern |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | plugin | Version: | 1.3.2 |
Keywords: | validate | Cc: | |
Blocked by: | Blocking: |
Description
in methods object, in the remote: function, in the success callback I had to add " delete validator.invalid[element.name];" in if (response) block, shown below
if ( response ) {
var submitted = validator.formSubmitted; validator.prepareElement(element); validator.formSubmitted = submitted; validator.successList.push(element); delete validator.invalid[element.name]; validator.showErrors();
}
Change History (2)
comment:1 Changed 14 years ago by
Owner: | set to joern |
---|
comment:2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please file plugin bugs with the appropriate author on their bug tracker.