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 = '
';