Skip to content
Snippets Groups Projects
Commit 3d563588 authored by Johan Kristiansson's avatar Johan Kristiansson
Browse files

removed alerts

parent 87f279f9
No related merge requests found
Pipeline #113198 passed
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment