mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	after the jquery version is updated, the login dialog has small update here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -79,7 +79,7 @@ LoadBar.prototype.loaded = function(file) { | ||||
|         //load the reset button to try one more time!   | ||||
| 	//$(document).ready(function () { | ||||
| 	injs(); | ||||
|         document.getElementById("wrapper").style.display = "block";   | ||||
|         document.getElementById("wrapper").style.display = "none";   | ||||
| 	//}); | ||||
|     }   | ||||
| };   | ||||
|   | ||||
| @@ -12,6 +12,7 @@ function onlogin (data, textstatus) { | ||||
|         $("#logstatus").text("Logged in successfully"); | ||||
|         //todo: nrtree.refresh(); // Fix tree potentiall broken through attempts to operate without auth | ||||
|         $("#logdialog").dialog("close"); | ||||
| 	$("#wrapper").show(); | ||||
|         //window.location = 'index.php';	// it has remembered what page they were trying to go to | ||||
|     } else { | ||||
|         $("#logstatus").text("Authentication failure"); | ||||
| @@ -22,6 +23,7 @@ function onlogin (data, textstatus) { | ||||
| function logout() { | ||||
| 	$.post("security/log.php",{logout:1}) | ||||
| 	$("#logstatus").html(""); | ||||
| 	$("#wrapper").hide();	//hide the current page | ||||
| 	$("#logdialog").dialog("open"); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user