From 470182be4f955a1c11d912743ce9e683ac4902a5 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Mon, 20 Mar 2017 17:06:12 +0000
Subject: [PATCH] #3527 feature - Added skeleton for all other admin catalogs: users, orgs and lic types

---
 securis/src/main/webapp/src/app/forms/license.form.component.ts |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/securis/src/main/webapp/src/app/forms/license.form.component.ts b/securis/src/main/webapp/src/app/forms/license.form.component.ts
index b8089fb..90c3ef3 100644
--- a/securis/src/main/webapp/src/app/forms/license.form.component.ts
+++ b/securis/src/main/webapp/src/app/forms/license.form.component.ts
@@ -24,13 +24,13 @@
 
   constructor(private http: Http,
               private licenses: LicensesService,
-              private router: Router,
               private packs: PacksService,
+              router: Router,
               toaster: ToastsManager,
               route: ActivatedRoute,
               $L: LocaleService,
               dialogs: TdDialogService) {
-      super($L, route, toaster, licenses, $L.get('license'), dialogs);
+      super($L, router, route, toaster, licenses, $L.get('license'), dialogs);
   }
 
   requestFileSelected(file: File) : void {
@@ -77,6 +77,10 @@
 
 
   ngAfterViewInit(): void {
+    this.init();
+  }
+
+  init(): void {
 
     this.route.params.subscribe(params => {
       var packId = +params['packId']; // (+) converts string 'id' to a number

--
Gitblit v1.3.2