Fixed xCAT icon on Google Chrome. Fixed getNodeAttr().
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e6c7aadb3b
commit
d1485783b2
@ -2131,11 +2131,12 @@ function runScript(inst) {
|
||||
*/
|
||||
function getNodeAttr(node, attrName) {
|
||||
// Get the row
|
||||
var row = $('[id=' + node + ']').parent().parent();
|
||||
var row = $('[id=' + node + ']').parents('tr');
|
||||
|
||||
// Search for the column containing the attribute
|
||||
var attrCol;
|
||||
var cols = row.parent().parent().find('th:contains("' + attrName + '")');
|
||||
|
||||
var cols = row.parents('.dataTables_scroll').find('.dataTables_scrollHead thead tr:eq(0) th');
|
||||
// Loop through each column
|
||||
for (var i in cols) {
|
||||
// Find column that matches the attribute
|
||||
|
@ -28,7 +28,7 @@ function loadPage(){
|
||||
'<body>
|
||||
<div id="header">
|
||||
<ul>
|
||||
<li><img src="images/logo.gif" height="100%" style="margin-right: 60px;"/></li>
|
||||
<li><img src="images/logo.gif" height="40px" style="margin-right: 60px;"/></li>
|
||||
<li><a href="index.php" class="top_link">Nodes</a></li>
|
||||
<li><a href="configure.php" class="top_link">Configure</a></li>
|
||||
<li><a href="provision.php" class="top_link">Provision</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user