Added support for input-group

This commit is contained in:
JapSeyz 2016-06-15 21:20:48 +02:00
parent 9841233d64
commit c184930f57
1 changed files with 4 additions and 0 deletions

View File

@ -4199,6 +4199,10 @@ function processFormErrors($form, errors)
.parent()
.addClass('has-error');
} else {
if($input.parent().hasClass('input-group')) {
$input = $input.parent();
}
$input.after('<div class="help-block error">' + error + '</div>')
.parent()
.addClass('has-error');