diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 15ddf68e1..8c8a0466c 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -770,14 +770,25 @@ function createIFrame(src) { var iframe = $('').attr('src', src).css({ 'display': 'inline-block', 'border': '0px', - 'margin': '10px 0px', - 'width': '90%' + 'margin': '10px 20px', + 'width': '95%' }); + var loader = createLoader('iLoader').css({ + 'display': 'inline-block', + 'margin': '10px 0px' + }); + infoBar.append(icon); + infoBar.append(loader); infoBar.append(iframe); infoBar.append(close); + // Remove loader when done + iframe.load(function() { + loader.remove(); + }); + return infoBar; }