Remove windowClass in modal open.
This commit is contained in:
parent
efb0f70f31
commit
3559d4acc0
@ -70,9 +70,7 @@ export class AccountListComponent implements OnInit {
|
|||||||
* Add an empty account.
|
* Add an empty account.
|
||||||
*/
|
*/
|
||||||
add() {
|
add() {
|
||||||
const modal = this.ngbModal.open(AccountEditModalComponent, {
|
const modal = this.ngbModal.open(AccountEditModalComponent);
|
||||||
windowClass: 'in'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.account = new Account();
|
modal.componentInstance.account = new Account();
|
||||||
|
|
||||||
|
@ -139,9 +139,7 @@ export class OperationRowComponent {
|
|||||||
|
|
||||||
modify(operation) {
|
modify(operation) {
|
||||||
// FIXME Alexis Lahouze 2017-06-15 i18n
|
// FIXME Alexis Lahouze 2017-06-15 i18n
|
||||||
const modal = this.ngbModal.open(OperationEditModalComponent, {
|
const modal = this.ngbModal.open(OperationEditModalComponent);
|
||||||
windowClass: 'in'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.operation = operation;
|
modal.componentInstance.operation = operation;
|
||||||
|
|
||||||
|
@ -76,9 +76,7 @@ export class ScheduleListComponent implements OnInit {
|
|||||||
var schedule = new Schedule();
|
var schedule = new Schedule();
|
||||||
schedule.account_id = this.accountId;
|
schedule.account_id = this.accountId;
|
||||||
|
|
||||||
const modal = this.ngbModal.open(ScheduleEditModalComponent, {
|
const modal = this.ngbModal.open(ScheduleEditModalComponent);
|
||||||
windowClass: 'in'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.schedule = schedule;
|
modal.componentInstance.schedule = schedule;
|
||||||
|
|
||||||
|
@ -75,9 +75,7 @@ export class ScheduleRowComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
confirmDelete() {
|
confirmDelete() {
|
||||||
const modal = this.ngbModal.open(ScheduleDeleteModalComponent, {
|
const modal = this.ngbModal.open(ScheduleDeleteModalComponent);
|
||||||
windowClass: 'in'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.schedule = this.schedule;
|
modal.componentInstance.schedule = this.schedule;
|
||||||
|
|
||||||
@ -103,9 +101,7 @@ export class ScheduleRowComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modify() {
|
modify() {
|
||||||
const modal = this.ngbModal.open(ScheduleEditModalComponent, {
|
const modal = this.ngbModal.open(ScheduleEditModalComponent);
|
||||||
windowClass: 'in'
|
|
||||||
});
|
|
||||||
|
|
||||||
modal.componentInstance.schedule = this.schedule;
|
modal.componentInstance.schedule = this.schedule;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user