mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	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:
		@@ -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();
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user