Changed how output for xdsh command is handled.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0353203684
commit
ff94e90a89
@ -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 = $('<p></p>');
|
||||
for (var i in rsp) {
|
||||
for (var j in tgts) {
|
||||
rsp[i] = rsp[i].replace(new RegExp(tgts[j] + ':', 'g'), '<br>');
|
||||
}
|
||||
|
||||
prg.append(rsp[i]);
|
||||
prg.append('<br>');
|
||||
}
|
||||
$('#' + statBarId).append(prg);
|
||||
|
||||
// Enable fields
|
||||
|
Loading…
Reference in New Issue
Block a user