Add col-sm-12 to network modal error

This patch adds a missing bootstrap col class to the errors
that show in the create/update network and subnet modals.

Change-Id: I82460db791c7da579f0f0379ea2e44599e000d0e
Closes-Bug: 1632109
This commit is contained in:
braveliuchina 2016-11-16 20:20:41 +08:00 committed by ChangBo Guo(gcb)
parent e5dac64cb0
commit 46c2ad601c
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ horizon.modals.init_wizard = function () {
// Add global errors.
$.each(errors, function (index, error) {
$fieldset.find('div.row').prepend(
'<div class="alert alert-danger">' +
error + '</div>');
'<div class="col-sm-12"><div class="alert alert-danger">' +
error + '</div></div>');
});
$fieldset.find('input, select, textarea').first().focus();
return;