From 2fdf9dc8c7335a6f82fbf296d67123660a0ab0ef Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 27 Jul 2012 06:26:11 +0000 Subject: [PATCH] change the layout on discover page git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/custom/hmc.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xCAT-UI/js/custom/hmc.js b/xCAT-UI/js/custom/hmc.js index 32457ba0b..17d8e3575 100644 --- a/xCAT-UI/js/custom/hmc.js +++ b/xCAT-UI/js/custom/hmc.js @@ -712,12 +712,15 @@ function powerInitSupernode() { var uploadform = $('
' + 'Configuration File:' + '
'); - uploadform.find('form').append(createButton('Parse')); + uploadform.append(createButton('Parse')); uploadform.ajaxForm({ success: parseSupernodeConfig }); - $('#discoverContentDiv #supernodeDiv').append(uploadform); + var tempCenterObj = $('
'); + tempCenterObj.append(uploadform); + + $('#discoverContentDiv #supernodeDiv').append(tempCenterObj); var frameArray = expandNR(getDiscoverEnv('frameName')); var showStr = '
';