diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index 62178e346..f79c386d2 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -101,11 +101,9 @@ function loadHcpInfo(data) { } // End of if (hcp) } else { // Create warning dialog - var warnDialog = $('
' - + '

' - + 'z/VM SMAPI is not responding to ' + hcp + '. It needs to be reset.

' - + '
'); - + var msg = createWarnBar('z/VM SMAPI is not responding to ' + hcp + '. It needs to be reset.'); + var warnDialog = $('
').append(msg); + // Open dialog warnDialog.dialog({ title:'Warning',