Skip to content
Snippets Groups Projects
Commit fd2e27bf authored by hjank's avatar hjank
Browse files

+ added "unit" to uuid of each newly created unit, just to be sure

parent 349c402c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ function createUnit() {
var nameCurrentScenario = $("#lname")[0].innerText;
// generate a UUID for this new unit. This will also serve as its A-box identifier.
var uuid = uuid4();
var uuid = "unit" + uuid4();
currentUnitUUID = uuid;
var stateName = $('<input>').attr('type', 'text').css("color", "#34495e");
// get new unit DOM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment