diff --git a/dmp-frontend/src/app/projects/projects.component.ts b/dmp-frontend/src/app/projects/projects.component.ts index 76fd4bdfd..6e96f1b0c 100644 --- a/dmp-frontend/src/app/projects/projects.component.ts +++ b/dmp-frontend/src/app/projects/projects.component.ts @@ -183,22 +183,27 @@ SaveProject(){ $("#newEditProjectModal").modal("hide"); } -newProject(item){ - this.project = this.getEmptyProject(); - $("#newEditProjectModal").modal("show"); - -} - -editRow(item, event){ - - this.project = item; //this will have id - that defines whether it's an update or not + newProject(item){ + this.project = this.getEmptyProject(); $("#newEditProjectModal").modal("show"); + } - - + editRow(item, event){ + this.project = item; //this will have id - that defines whether it's an update or not + $("#newEditProjectModal").modal("show"); } + /* + markProjectForDelete(project){ + this.project = project; + } + + deleteProject(confirmation){ + if(confirmation==true) + this.deleteRow(this.project); + } + */ } diff --git a/dmp-frontend/src/app/widgets/confirmation/confirmation.component.html b/dmp-frontend/src/app/widgets/confirmation/confirmation.component.html index fdb60c8fd..b15047cc2 100644 --- a/dmp-frontend/src/app/widgets/confirmation/confirmation.component.html +++ b/dmp-frontend/src/app/widgets/confirmation/confirmation.component.html @@ -12,8 +12,8 @@

{{confirmationDescr}}