Merge "Remove parent div when pressing next step button" into stable/ocata

This commit is contained in:
Jenkins
2017-03-06 05:44:04 +00:00
committed by Gerrit Code Review

View File

@@ -103,7 +103,7 @@ horizon.modals.init_wizard = function () {
}
// 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 () {
var $group = $(this);
$group.removeClass('has-error');