I don't understand why I didn't send these changes earlier.
This commit is contained in:
@ -38,7 +38,7 @@ class DBMSUser
|
||||
{
|
||||
if(findNode(node,'#cdata-section').nodeValue=="0") //if not logged
|
||||
{
|
||||
this.showLoginForm();
|
||||
//this.showLoginForm();
|
||||
}else
|
||||
{
|
||||
this.name=getCdataValue(findNode(node,'name'));
|
||||
@ -86,7 +86,7 @@ class DBMSUser
|
||||
|
||||
};
|
||||
//Display login and registration form
|
||||
showLoginForm()
|
||||
/*showLoginForm()
|
||||
{
|
||||
if(this.win==null || this.win.closed)
|
||||
{
|
||||
@ -152,17 +152,18 @@ class DBMSUser
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
};*/
|
||||
|
||||
//logout current user
|
||||
Logout()
|
||||
/*Logout()
|
||||
{
|
||||
xs='<?xml version="1.0" encoding="utf-8"?><metadata fn="7"><cmd><![CDATA[1]]></cmd></metadata>';
|
||||
var request=new TRequest(this);
|
||||
let xs='<?xml version="1.0" encoding="utf-8"?><metadata fn="7"><cmd><![CDATA[1]]></cmd></metadata>';
|
||||
let request=new TRequest(this);
|
||||
if(request.callServer(ScriptName,xs))
|
||||
{
|
||||
this.showShadow();
|
||||
}
|
||||
};
|
||||
};*/
|
||||
|
||||
showLock(visible) {
|
||||
if(this.divsh==null) {
|
||||
@ -177,7 +178,7 @@ class DBMSUser
|
||||
}
|
||||
|
||||
//Checking the session without its extension, if it is completed, we display the authorization window.
|
||||
checkSession()
|
||||
/*checkSession()
|
||||
{
|
||||
$.ajax({
|
||||
url: '../session',
|
||||
@ -205,7 +206,7 @@ class DBMSUser
|
||||
}
|
||||
});
|
||||
setTimeout(()=>this.checkSession(), 10000);
|
||||
};
|
||||
};*/
|
||||
|
||||
showShadow(visible)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user