From 1f234f40fe634c066a6a9e1862e7b92b79261b01 Mon Sep 17 00:00:00 2001 From: phamt Date: Sun, 22 Jan 2012 13:06:32 +0000 Subject: [PATCH] Changed warning dialog for zVM SMAPI. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/custom/zvmUtils.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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',