From c3d9abdd3cd55a12d6509ade288648c2408baeb5 Mon Sep 17 00:00:00 2001
From: Roberto Sánchez <roberto.sanchez@curisit.net>
Date: Mon, 27 Jan 2014 11:18:59 +0000
Subject: [PATCH] #395 feature - Added expiration date to license and automatic preactivation flag

---
 securis/src/main/resources/static/js/licenses.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/securis/src/main/resources/static/js/licenses.js b/securis/src/main/resources/static/js/licenses.js
index fb5dd85..1fe1bdb 100644
--- a/securis/src/main/resources/static/js/licenses.js
+++ b/securis/src/main/resources/static/js/licenses.js
@@ -118,7 +118,8 @@
 					$scope.isNew = true;
 					$scope.showForm = true;
 					$scope.pack = {
-					        num_licenses: 1,
+                            license_preactivation: true,
+                            num_licenses: 1,
                             license_type_id: !$scope.refs.license_type_id || !$scope.refs.license_type_id.length ? null : $scope.refs.license_type_id[0].id,
                             organization_id: !$scope.refs.organization_id || !$scope.refs.organization_id.length ? null : $scope.refs.organization_id[0].id
 					}

--
Gitblit v1.3.2