Browse Source

Update confirm-click.directive.ts

pull/329/head
Sebastian Stehle 7 years ago
committed by GitHub
parent
commit
c4c8cc101a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Squidex/app/framework/angular/forms/confirm-click.directive.ts

6
src/Squidex/app/framework/angular/forms/confirm-click.directive.ts

@ -77,9 +77,7 @@ export class ConfirmClickDirective implements OnDestroy {
this.isOpen = false; this.isOpen = false;
if (result) { if (result) {
if (result) { this.clickConfirmed.delayEmit();
this.clickConfirmed.delayEmit();
}
} }
subscription.unsubscribe(); subscription.unsubscribe();
@ -95,4 +93,4 @@ export class ConfirmClickDirective implements OnDestroy {
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
} }
} }

Loading…
Cancel
Save