+Проверка f4

This commit is contained in:
2021-11-08 17:08:32 +06:00
parent d4fc19b54d
commit 9b11fb813a
2 changed files with 3 additions and 4 deletions

View File

@ -1454,7 +1454,7 @@ class EdtRec
if((value=="")&&(maybenull==0)) return false;
return isInt(value)
}else
if(type=="f8")
if(type=="f8" || type=="f4")
{
if((value=="")&&(maybenull==0)) return false;
return isFloat(value);

View File

@ -61,7 +61,7 @@ class DBMSUser
{
if(findNode(node,'#cdata-section').nodeValue=="0") //if not logged
{
alert(trt('Invalid_username_and_or_password'));
alert2(trt('Attention'),trt('Invalid_username_and_or_password'));
}else
{
//location.reload();
@ -76,8 +76,7 @@ class DBMSUser
{
//if(findNode(node,'#cdata-section').nodeValue=="1") //if register
//{
// alert(trt('New_user_is_registered')+'\n'+trt('The_password_has_been_sent_to_you_by_Email'));
// location.reload();
// alert2(trt('Attention'),trt('New_user_is_registered')+'\n'+trt('The_password_has_been_sent_to_you_by_Email'),function(){ location.reload(); });
//}
}
}