From 177a2971fbf8de1b2fe6c582450254a0b488ceb6 Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 9 Sep 2011 20:24:26 +0000 Subject: [PATCH] Changed discovery steps navigation bar to use jQuery icon instead of "->" git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/configure/discover.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/xCAT-UI/js/configure/discover.js b/xCAT-UI/js/configure/discover.js index d6a041070..44d2b421b 100644 --- a/xCAT-UI/js/configure/discover.js +++ b/xCAT-UI/js/configure/discover.js @@ -62,16 +62,18 @@ function loadDiscoverPage(){ */ function updateDiscoverStep(){ $('#discoverStepDiv').empty(); - var showString = ''; + for (var index in steps){ - showString += '' + steps[index] + '')); + } else { + $('#discoverStepDiv').append($('' + steps[index] + '')); } - showString += '>' + steps[index] + '->'; + $('#discoverStepDiv').append($('')); } - showString = showString.substr(0, showString.length - 2); - $('#discoverStepDiv').html(showString); + + //remove last arrow + $('#discoverStepDiv span:last-child').remove(); } /**