Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.15.237.229
function ValidateEditPassword()
{
$('#dialog').dialog('open');
$("#dialog").data("width.dialog",300);
$path="html_modules/password_check.html";
$('#ui-dialog-title-dialog').html('Password');
$('#dialog').html('');
$('#dialog').load($path,function()
{
$("#login_password").focus();
}
);
}
function CheckEnterPassword()
{
var row_pwd=document.getElementById('login_password').value;
if( trim(document.getElementById('login_password').value) == '' )
{
alert('Please Enter the Password');
document.getElementById('login_password').focus();
return false;
}
if(row_pwd == getCookie('pswd'))
{
if(document.getElementById('module_name_for_save').value=='enableViewEmployeeSalary')
{
saveLedgerDetails();
closePassword();
return true;
}
}
else
{
alert('Wrong Password');
document.getElementById('login_password').value='';
return false;
}
}
function closePassword()
{
$('#dialog').dialog('close');
}
|