From 3a8ba9b243230f9180c937d274ff2630a5174492 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 27 Jul 2012 06:24:11 +0000 Subject: [PATCH] change the layout on discover page git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13357 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 = '
';