From a77623bc6c7a911fa51563ab1d2d13c8d755e456 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Tue, 9 Nov 2010 07:34:31 +0000 Subject: [PATCH] add a tab to show rinv return info when click the lpars' name on a cec tooltip git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/nodes/physical.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT-UI/js/nodes/physical.js b/xCAT-UI/js/nodes/physical.js index ca69bb9f0..be06c530a 100644 --- a/xCAT-UI/js/nodes/physical.js +++ b/xCAT-UI/js/nodes/physical.js @@ -230,6 +230,11 @@ function createGraphical(bpa, fsp, area){ effect: "fade" }); + $('.tooltip a').bind('click', function(){ + var lparName = $(this).html(); + $('#nodesDataTable #' + lparName).trigger('click'); + }); + $('.fspDiv2, .fspDiv4, .fspDiv42').bind('click', function(){ var fspName = $(this).attr('value'); showSelectDialog(fspList[fspName]['children']); @@ -569,7 +574,7 @@ function createFspTip(fspName, mtm, fsp){ var lparName = fsp[fspName]['children'][lparIndex]; var color = statusMap(lparList[lparName]); var row = ''; - row += ''+ lparName + ''; + row += ''+ lparName + ''; row += '' + lparList[lparName] + ''; tempTable.append(row); }