From 4c5698f9f99b16fa1522a74c69116043ef2a679a Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 1 Apr 2011 14:35:29 +0000 Subject: [PATCH] Point to more specific HTML tag to get disk rows. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/custom/zvmUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index 21e77d3b0..14b0ef39e 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -480,7 +480,7 @@ function updateZProvisionNewStatus(data) { $.cookie('tries4' + tabId, 0); // Set cookie for number of disks - var diskRows = $('#' + tabId + ' table:visible tr'); + var diskRows = $('#' + tabId + ' table:visible tbody tr'); $.cookie('disks2add' + out2Id, diskRows.length); if (diskRows.length > 0) { for ( var i = 0; i < diskRows.length; i++) { @@ -548,7 +548,7 @@ function updateZProvisionNewStatus(data) { $.cookie('tries4' + tabId, tries); // Set cookie for number of disks - var diskRows = $('#' + tabId + ' table:visible tr'); + var diskRows = $('#' + tabId + ' table:visible tbody tr'); $.cookie('disks2add' + out2Id, diskRows.length); if (diskRows.length > 0) { for ( var i = 0; i < diskRows.length; i++) {