From 16f12d47ead7d27bc0f48d31c4b67133056272dc Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 17 Jan 2011 04:33:25 +0000 Subject: [PATCH] shown lpars' status git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/images/nodes/grey.gif | Bin 813 -> 813 bytes xCAT-UI/images/nodes/s-grey.gif | Bin 831 -> 831 bytes xCAT-UI/js/nodes/physical.js | 4 ++++ 3 files changed, 4 insertions(+) diff --git a/xCAT-UI/images/nodes/grey.gif b/xCAT-UI/images/nodes/grey.gif index f65010c5f39800e99f24b8b83022867cf27c0643..2f1068cf8f0f47be601c33976c908c6bb92bf729 100644 GIT binary patch delta 27 jcmZ3>ww7&!6tgfthm6OD1qYisgtcN$Y)CxRz+epkcww7&!6tl1(hm6OD1qYisgtcN$Y)CxRz+epkc@hav diff --git a/xCAT-UI/images/nodes/s-grey.gif b/xCAT-UI/images/nodes/s-grey.gif index 148744b25482e4656b3cc403605c842854bf1d81..13d8a3e1a853869266997e7ba174c874bbfc4ecc 100644 GIT binary patch delta 45 zcmdnbwx4Z-6tgNnhm6LBM&>3KUL~E1f`^Q)+=^y08ih(n+C>GW_RJ_)bfAI38UQP? B4gmlF delta 45 zcmdnbwx4Z-6tk)zhm6LBM&>3KUL~E10!5})ZbdU0jY6d(?V^HGdu9|YI?%vi4FDR^ B4MYF{ diff --git a/xCAT-UI/js/nodes/physical.js b/xCAT-UI/js/nodes/physical.js index b4e1b00bb..32101d48c 100644 --- a/xCAT-UI/js/nodes/physical.js +++ b/xCAT-UI/js/nodes/physical.js @@ -139,6 +139,10 @@ function fillList(nodeName){ var mtm = graphicalNodeList[nodeName]['mtm']; var status = graphicalNodeList[nodeName]['status']; + if ('' == status){ + status = 'unknown'; + } + switch(graphicalNodeList[nodeName]['type']){ case 'bpa': { if (undefined == bpaList[nodeName]){