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:
mxi1 2009-11-06 10:18:13 +00:00
parent 269aa19f8d
commit a7d7a0b11f
2 changed files with 3 additions and 1 deletions

View File

@ -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";
//});
}
};

View File

@ -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");
}