Skip to content

Commit

Permalink
fixed #3444
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtcndkn committed Jul 19, 2017
1 parent 9d2cf6e commit ae5de9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/components/confirmdialog/confirmdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {Subscription} from 'rxjs/Subscription';
</a>
</div>
<div class="ui-dialog-content ui-widget-content">
<i [class]="icon"></i>
<i [ngClass]="'fa'" [class]="icon"></i>
<span class="ui-confirmdialog-message" [innerHTML]="message"></span>
</div>
<div class="ui-dialog-footer ui-widget-content" *ngIf="footer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ConfirmDialogDemo {
this.confirmationService.confirm({
message: 'Are you sure that you want to proceed?',
header: 'Confirmation',
icon: 'fa fa-question-circle',
icon: 'fa-question-circle',
accept: () => {
this.msgs = [{severity:'info', summary:'Confirmed', detail:'You have accepted'}];
},
Expand All @@ -30,7 +30,7 @@ export class ConfirmDialogDemo {
this.confirmationService.confirm({
message: 'Do you want to delete this record?',
header: 'Delete Confirmation',
icon: 'fa fa-trash',
icon: 'fa-trash',
accept: () => {
this.msgs = [{severity:'info', summary:'Confirmed', detail:'Record deleted'}];
},
Expand Down

0 comments on commit ae5de9c

Please sign in to comment.