Эх сурвалжийг харах

Update readconfigparam.js

jomjol 3 жил өмнө
parent
commit
529690ec60

+ 7 - 0
sd-card/html/readconfigparam.js

@@ -745,6 +745,13 @@ function getROIInfo(_typeROI, _number){
 
 
 function RenameROI(_number, _type, _alt, _neu){
+     if ((_neu.search(".") >= 0) || (_neu.search(",") >= 0))
+     {
+          return "Name must not contain ',' or '.' - please change name";
+     }
+
+
+
      index = -1;
      found = false;
      _indexnumber = -1;