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:
parent
ff94e90a89
commit
4a8e507141
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user