Changed how values are retrieved for lsdef.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-12-20 18:59:08 +00:00
parent 4be45af09c
commit f681e6426e

View File

@ -358,10 +358,10 @@ function loadNodes(data) {
}
// Get key and value
args = rsp[i].split('=');
args = rsp[i].split('=', 2);
var key = jQuery.trim(args[0]);
var val = jQuery.trim(args[1]);
var val = jQuery.trim(rsp[i].substring(rsp[i].indexOf('=') + 1, rsp[i].length));
// Create a hash table
attrs[node][key] = val;
headers[key] = 1;