From 9b11fb813ab7e6d38c7b37ea8f66986b23f8455d Mon Sep 17 00:00:00 2001 From: igor Date: Mon, 8 Nov 2021 17:08:32 +0600 Subject: [PATCH] =?UTF-8?q?+=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20f4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- metadata/dbms/editrecord.js | 2 +- metadata/dbms/login.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/metadata/dbms/editrecord.js b/metadata/dbms/editrecord.js index 6052f92..8b0bf69 100644 --- a/metadata/dbms/editrecord.js +++ b/metadata/dbms/editrecord.js @@ -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); diff --git a/metadata/dbms/login.js b/metadata/dbms/login.js index b02d9de..9692a6f 100644 --- a/metadata/dbms/login.js +++ b/metadata/dbms/login.js @@ -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(); }); //} } }