From f681e6426e65842923725aa76e57c6e7fc0c30c1 Mon Sep 17 00:00:00 2001 From: phamt Date: Mon, 20 Dec 2010 18:59:08 +0000 Subject: [PATCH] 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 --- xCAT-UI/js/nodes/nodes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index bd9967b20..cba07d1ee 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -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;