return null
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7641 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9ce6102a4a
commit
4945339bc3
@ -271,14 +271,16 @@ function ShowUpdateResult(data)
|
||||
$('#loadingpic').remove();
|
||||
|
||||
var resArray = data.rsp[0].split(/\n/);
|
||||
if (('' == resArray[resArray.length - 1]) && (resArray.length > 1)){
|
||||
$('#update').append(resArray[resArray.length - 2]);
|
||||
}
|
||||
else{
|
||||
$('#update').append(resArray[resArray.length - 1]);
|
||||
if (0 < resArray.length){
|
||||
if (('' == resArray[resArray.length - 1]) && (resArray.length > 1)){
|
||||
$('#update').append(resArray[resArray.length - 2]);
|
||||
}
|
||||
else{
|
||||
$('#update').append(resArray[resArray.length - 1]);
|
||||
}
|
||||
}
|
||||
|
||||
$('#update').append('<br\><a>Response Detail:</a>');
|
||||
$('#update').append('<br\><a href="#">Response Detail:</a>');
|
||||
$('#update a').bind('click', function(){
|
||||
$('#resDetail').show();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user