From 4a8e507141e8a969c59a00d7b13b800598b9ac68 Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 8 Oct 2010 14:52:48 +0000 Subject: [PATCH] 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 --- xCAT-UI/js/custom/zvmUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index 636669508..f615c8133 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -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) {