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
This commit is contained in:
xq2005 2010-11-09 07:34:31 +00:00
parent dcb6a7115b
commit a77623bc6c

View File

@ -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 = '<tr><td><input type="checkbox" name="' + lparName + '"></td>';
row += '<td style="color:#fff">'+ lparName + '</td>';
row += '<td style="color:#fff"><a>'+ lparName + '</a></td>';
row += '<td style="background-color:' + color + ';color:#fff">' + lparList[lparName] + '</td></tr>';
tempTable.append(row);
}