don't like the green highlighting on validated fields
This commit is contained in:
parent
b08bdd59fe
commit
cf24240bcd
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
// based on http://alittlecode.com/files/jQuery-Validate-Demo/
|
||||
|
||||
function validate_highlight(label) {
|
||||
$(label).closest('.control-group').removeClass('success').addClass('error');
|
||||
$(label).closest('.control-group').addClass('error');
|
||||
}
|
||||
|
||||
function validate_success(label) {
|
||||
$(label).addClass('valid').closest('.control-group').removeClass('error').addClass('success');
|
||||
$(label).addClass('valid').closest('.control-group').removeClass('error');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue