mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
Correct RenameNumber
This commit is contained in:
@@ -706,7 +706,7 @@ function getNUMBERInfo(){
|
||||
}
|
||||
|
||||
function RenameNUMBER(_alt, _neu){
|
||||
if ((_neu.search(".") >= 0) || (_neu.search(",") >= 0) || (_neu.search(" ") >= 0) || (_neu.search("\"") >= 0))
|
||||
if ((_neu.indexOf(".") >= 0) || (_neu.indexOf(",") >= 0) || (_neu.indexOf(" ") >= 0) || (_neu.indexOf("\"") >= 0))
|
||||
{
|
||||
return "Name must not contain ',', '.', ' ' or '\"' - please change name";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user