Fix bad translation in confirm dialog
This commit is contained in:
parent
5c7d587b19
commit
6599f096d5
|
@ -12,8 +12,8 @@
|
|||
<div class="modal-body" [innerHtml]="message"></div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" (click)="abort()">Annuler</button>
|
||||
<button type="button" class="btn btn-primary" (click)="confirm()">Valider</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" (click)="cancel()">Cancel</button>
|
||||
<button type="button" class="btn btn-primary" (click)="confirm()">Confirm</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -46,7 +46,7 @@ export class ConfirmComponent implements OnInit {
|
|||
}
|
||||
|
||||
@HostListener('keydown.esc')
|
||||
abort () {
|
||||
cancel () {
|
||||
this.confirmService.confirmResponse.next(false)
|
||||
this.hideModal()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue