clear() {
     this.activeModal.dismiss('cancel');
 }
 private onSaveSuccess(result: PersonelHotpersonel) {
     this.eventManager.broadcast({ name: 'personelListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
 onClickedCancel(): void {
   this.activeModal.close('Close click');
 }
 requestResetPassword() {
     this.activeModal.dismiss('to state requestReset');
     this.router.navigate(['/reset', 'request']);
 }
 private onSaveSuccess(result: Category) {
     this.eventManager.broadcast({ name: 'categoryListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
	ok() {
		this.activeModal.close(null);
	}
 register() {
     this.activeModal.dismiss('to state register');
     this.router.navigate(['/register']);
 }
 closeModal() {
   this.activeModal.close('Modal Closed');
 }
Example #9
0
 onClickDismiss(){
     this.activeModal.close();
 }
Example #10
0
		}).then((result) => {
			if (result.value) { this.modal.dismiss(); }
		});
 private onSaveSuccess(result: ComplianceFlagAssess) {
     this.eventManager.broadcast({ name: 'complianceFlagListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
 private onSaveSuccess(result: ValueStreamElement) {
     this.eventManager.broadcast({ name: 'valueStreamElementListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
 this.userService.delete(login).subscribe(response => {
     this.eventManager.broadcast({ name: 'userListModification',
         content: 'Deleted a user'});
     this.activeModal.dismiss(true);
     this.router.navigate([{ outlets: { popup: null }}]);
 });
 clear () {
     this.activeModal.dismiss('cancel');
     this.router.navigate([{ outlets: { popup: null }}]);
 }