This commit is contained in:
Peter Maquiran
2023-07-21 12:58:40 +01:00
parent ad722c0fea
commit 3d14c66d98
12 changed files with 64 additions and 101 deletions
@@ -76,10 +76,11 @@ export class EventDetailsDocumentsOptionsPage implements OnInit {
"path": document.path,
"ownerId": document.ownerId
}
this.processService.SaveDraftByID(document.DocId, objectDraft).subscribe((res) => [
this.erroHandler.httpsSucessMessagge('Draft Save'),
this.modalController.dismiss()
],(error) => {
this.processService.SaveDraftByID(document.DocId, objectDraft).subscribe((res) => {
this.erroHandler.httpsSucessMessagge('Draft Save');
this.modalController.dismiss();
window['tinyupdate']()
},(error) => {
this.erroHandler.httpStatusHandle(error)
})