Change node range and user ID range to accept expressions such as gpok1-gpok10 or gpok[1-10].

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-10-08 14:52:48 +00:00
parent ff94e90a89
commit 4a8e507141

View File

@ -827,7 +827,7 @@ function updateZCloneStatus(data) {
// Get the starting index
var nodeStart = parseInt(tmp[0].match(/\d+/));
// Get the ending index
var nodeEnd = parseInt(tmp[1]);
var nodeEnd = parseInt(tmp[1].match(/\d+/));
for ( var i = nodeStart; i <= nodeEnd; i++) {
// Do not append comma for last node
if (i == nodeEnd) {