+Проверка f4
This commit is contained in:
@ -1454,7 +1454,7 @@ class EdtRec
|
|||||||
if((value=="")&&(maybenull==0)) return false;
|
if((value=="")&&(maybenull==0)) return false;
|
||||||
return isInt(value)
|
return isInt(value)
|
||||||
}else
|
}else
|
||||||
if(type=="f8")
|
if(type=="f8" || type=="f4")
|
||||||
{
|
{
|
||||||
if((value=="")&&(maybenull==0)) return false;
|
if((value=="")&&(maybenull==0)) return false;
|
||||||
return isFloat(value);
|
return isFloat(value);
|
||||||
|
|||||||
@ -61,7 +61,7 @@ class DBMSUser
|
|||||||
{
|
{
|
||||||
if(findNode(node,'#cdata-section').nodeValue=="0") //if not logged
|
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
|
}else
|
||||||
{
|
{
|
||||||
//location.reload();
|
//location.reload();
|
||||||
@ -76,8 +76,7 @@ class DBMSUser
|
|||||||
{
|
{
|
||||||
//if(findNode(node,'#cdata-section').nodeValue=="1") //if register
|
//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'));
|
// alert2(trt('Attention'),trt('New_user_is_registered')+'\n'+trt('The_password_has_been_sent_to_you_by_Email'),function(){ location.reload(); });
|
||||||
// location.reload();
|
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user