Some more modal styles

This commit is contained in:
M.Ravi 2017-09-28 23:31:29 +02:00
parent f60a2c3482
commit 4ce1ff073a
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,12 @@ $(document).ready(function() {
url: create_vm_form.attr('action'),
type: 'POST',
data: create_vm_form.serialize(),
init: function(){
ok_btn = $('#createvm-modal-done-btn');
close_btn = $('#createvm-modal-close-btn');
ok_btn.addClass('btn btn-success btn-ok btn-wide hide');
close_btn.addClass('btn btn-danger btn-ok btn-wide hide');
},
success: function (data) {
fa_icon = $('.modal-icon > .fa');
modal_btn = $('#createvm-modal-done-btn');