From a454667d6386d650ca7e09ca9f7991cf8f2ccfca Mon Sep 17 00:00:00 2001 From: xq2005 Date: Thu, 9 Dec 2010 05:09:01 +0000 Subject: [PATCH] show the summary data first and then get the detail data git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/monitor/rmcmon.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xCAT-UI/js/monitor/rmcmon.js b/xCAT-UI/js/monitor/rmcmon.js index fe6ca6b20..eccf64a06 100644 --- a/xCAT-UI/js/monitor/rmcmon.js +++ b/xCAT-UI/js/monitor/rmcmon.js @@ -226,6 +226,16 @@ function loadRmcMonShow(){ showRmcSummary(data.rsp[0]); } }); +} + +function showRmcSummary(returnData){ + var attributes = returnData.split(';'); + var attr; + var attrName; + var attrValues; + var attrDiv; + var summaryTable = $('
'); + var summaryRow; //load each nodes' status $.ajax({ @@ -242,18 +252,8 @@ function loadRmcMonShow(){ parseRmcData(data.rsp); } }); -} - -function showRmcSummary(returnData){ - var attributes = returnData.split(';'); - var attr; - var attrName; - var attrValues; - var attrDiv; - var summaryTable = $('
'); - var summaryRow; - + //show the summary data $('#rmcmonSummary').empty().append('

Overview


'); $('#rmcmonSummary').append(summaryTable);