Skip to content
Snippets Groups Projects
Commit a692420d authored by Robert Goldmann's avatar Robert Goldmann
Browse files

client: v1.5.2; only allow number for milestone version code

parent 28c16006
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,12 @@ function validateNewMilestoneForm()
return false;
}
if(isNaN(versionCode))
{
alert("Version Code should be a number!");
return false;
}
if(isNull(versionName))
{
alert("Version Name shouldn't be empty!");
......
{
"version": {
"name": "v1.5.1",
"code": 21,
"name": "v1.5.2",
"code": 22,
"date": "28.03.21"
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment