Nice effect for adding CSS class has-error

This commit is contained in:
Olivier PEREZ 2015-11-30 22:12:09 +01:00
parent 1c8a41dc02
commit 4cf28bf8f6

View File

@ -255,8 +255,11 @@ $(document).ready(function () {
submitDaysAvalaible();
} else {
startDateField.parent().addClass('has-error');
endDateField.parent().addClass('has-error');
setTimeout(function () {
startDateField.parent().addClass('has-error');
endDateField.parent().addClass('has-error');
}, 200);
}