Added translation and fa-times icon
This commit is contained in:
parent
7256160a7b
commit
155a4b7cb6
2 changed files with 8 additions and 4 deletions
|
|
@ -20,9 +20,11 @@ $(document).ready(function () {
|
|||
},
|
||||
error: function (xmlhttprequest, textstatus, message) {
|
||||
fa_icon = $('.modal-icon > .fa');
|
||||
fa_icon.attr('class', 'fa fa-error');
|
||||
fa_icon.attr('class', 'fa fa-times');
|
||||
$('.modal-header > .close').attr('class', 'close');
|
||||
$('#createvm-modal-title').text(create_vm_error_message);
|
||||
if (typeof(create_vm_error_message) !== 'undefined') {
|
||||
$('#createvm-modal-title').text(create_vm_error_message);
|
||||
}
|
||||
$('#btn-create-vm').prop('disabled', false);
|
||||
}
|
||||
});
|
||||
|
|
@ -43,4 +45,4 @@ $(document).ready(function () {
|
|||
$('html,body').scrollTop(scrollmem);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue