diff --git a/src/accounts/accountList.component.ts b/src/accounts/accountList.component.ts index 7ffe65c..9fc510d 100644 --- a/src/accounts/accountList.component.ts +++ b/src/accounts/accountList.component.ts @@ -70,9 +70,7 @@ export class AccountListComponent implements OnInit { * Add an empty account. */ add() { - const modal = this.ngbModal.open(AccountEditModalComponent, { - windowClass: 'in' - }); + const modal = this.ngbModal.open(AccountEditModalComponent); modal.componentInstance.account = new Account(); diff --git a/src/operations/operationRow.component.ts b/src/operations/operationRow.component.ts index 6991a4d..317e15b 100644 --- a/src/operations/operationRow.component.ts +++ b/src/operations/operationRow.component.ts @@ -139,9 +139,7 @@ export class OperationRowComponent { modify(operation) { // FIXME Alexis Lahouze 2017-06-15 i18n - const modal = this.ngbModal.open(OperationEditModalComponent, { - windowClass: 'in' - }); + const modal = this.ngbModal.open(OperationEditModalComponent); modal.componentInstance.operation = operation; diff --git a/src/scheduler/scheduleList.component.ts b/src/scheduler/scheduleList.component.ts index 244c594..17c50fc 100644 --- a/src/scheduler/scheduleList.component.ts +++ b/src/scheduler/scheduleList.component.ts @@ -76,9 +76,7 @@ export class ScheduleListComponent implements OnInit { var schedule = new Schedule(); schedule.account_id = this.accountId; - const modal = this.ngbModal.open(ScheduleEditModalComponent, { - windowClass: 'in' - }); + const modal = this.ngbModal.open(ScheduleEditModalComponent); modal.componentInstance.schedule = schedule; diff --git a/src/scheduler/scheduleRow.component.ts b/src/scheduler/scheduleRow.component.ts index 62b3547..4d67edb 100644 --- a/src/scheduler/scheduleRow.component.ts +++ b/src/scheduler/scheduleRow.component.ts @@ -75,9 +75,7 @@ export class ScheduleRowComponent { } confirmDelete() { - const modal = this.ngbModal.open(ScheduleDeleteModalComponent, { - windowClass: 'in' - }); + const modal = this.ngbModal.open(ScheduleDeleteModalComponent); modal.componentInstance.schedule = this.schedule; @@ -103,9 +101,7 @@ export class ScheduleRowComponent { } modify() { - const modal = this.ngbModal.open(ScheduleEditModalComponent, { - windowClass: 'in' - }); + const modal = this.ngbModal.open(ScheduleEditModalComponent); modal.componentInstance.schedule = this.schedule;