Merge "Remove parent div when pressing next step button" into stable/ocata
This commit is contained in:
@@ -103,7 +103,7 @@ horizon.modals.init_wizard = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Clear old errors.
|
// Clear old errors.
|
||||||
$form.find('div.row div.alert-danger').remove();
|
$form.find('div.row div.alert-danger').parent().remove();
|
||||||
$form.find('.form-group.has-error').each(function () {
|
$form.find('.form-group.has-error').each(function () {
|
||||||
var $group = $(this);
|
var $group = $(this);
|
||||||
$group.removeClass('has-error');
|
$group.removeClass('has-error');
|
||||||
|
|||||||
Reference in New Issue
Block a user