diff --git a/client/projectPage/projectPageA.ts b/client/projectPage/projectPageA.ts index 7dd13a0483dd3bf4003d70d1e80fd5e67e453057..5ac2ee7c9bb62d2da921bfc446d152a4a887be9c 100644 --- a/client/projectPage/projectPageA.ts +++ b/client/projectPage/projectPageA.ts @@ -187,16 +187,13 @@ async function checkInputFields(projectId: string, formId: string) { } function loadInitiateAndFinalizeBtn(projectId : string, completed : boolean) { - alert("hej"); if(!completed) { - alert("not completed"); const nolanModelElement = document.getElementById("projectPageNolandsModel") as HTMLElement; //Creates buttons with classname, id, attribute and text const finalizeButton = document.createElement("button"); const iterationButton = document.createElement("button"); if (nolanModelElement) { - alert("finds element"); finalizeButton.id = "toCurrentProjects"; iterationButton.id = "toCurrentProjects"; finalizeButton.classList.add("btn", "btn-primary");