diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 01037fb4c..f03707241 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -1157,7 +1157,15 @@ function updateStatusBar(data) { $('#' + statBarId).find('img').hide(); // Write ajax response to status bar - var prg = writeRsp(rsp, '[A-Za-z0-9._-]+:'); + var prg = $('

'); + for (var i in rsp) { + for (var j in tgts) { + rsp[i] = rsp[i].replace(new RegExp(tgts[j] + ':', 'g'), '
'); + } + + prg.append(rsp[i]); + prg.append('
'); + } $('#' + statBarId).append(prg); // Enable fields