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
This commit is contained in:
phamt 2011-04-01 14:35:29 +00:00
parent 9d62d08147
commit 4c5698f9f9

View File

@ -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++) {