diff --git a/js/authoring/controllers/unitController.js b/js/authoring/controllers/unitController.js index 8a245ac62828de9f4c07ec324f9837d82284da19..70955fe853a658affa71712bdc66886ec217e5ee 100644 --- a/js/authoring/controllers/unitController.js +++ b/js/authoring/controllers/unitController.js @@ -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