diff options
-rw-r--r-- | client/src/app/core/confirm/confirm.component.html | 4 | ||||
-rw-r--r-- | client/src/app/core/confirm/confirm.component.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html index 3052526ba..8e5443c6a 100644 --- a/client/src/app/core/confirm/confirm.component.html +++ b/client/src/app/core/confirm/confirm.component.html | |||
@@ -12,8 +12,8 @@ | |||
12 | <div class="modal-body" [innerHtml]="message"></div> | 12 | <div class="modal-body" [innerHtml]="message"></div> |
13 | 13 | ||
14 | <div class="modal-footer"> | 14 | <div class="modal-footer"> |
15 | <button type="button" class="btn btn-default" data-dismiss="modal" (click)="abort()">Annuler</button> | 15 | <button type="button" class="btn btn-default" data-dismiss="modal" (click)="cancel()">Cancel</button> |
16 | <button type="button" class="btn btn-primary" (click)="confirm()">Valider</button> | 16 | <button type="button" class="btn btn-primary" (click)="confirm()">Confirm</button> |
17 | </div> | 17 | </div> |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
diff --git a/client/src/app/core/confirm/confirm.component.ts b/client/src/app/core/confirm/confirm.component.ts index 066e3fc5f..c8e41e233 100644 --- a/client/src/app/core/confirm/confirm.component.ts +++ b/client/src/app/core/confirm/confirm.component.ts | |||
@@ -46,7 +46,7 @@ export class ConfirmComponent implements OnInit { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | @HostListener('keydown.esc') | 48 | @HostListener('keydown.esc') |
49 | abort () { | 49 | cancel () { |
50 | this.confirmService.confirmResponse.next(false) | 50 | this.confirmService.confirmResponse.next(false) |
51 | this.hideModal() | 51 | this.hideModal() |
52 | } | 52 | } |