From 79435726ed870d8395154e539ba2d9eb7789e0de Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Fri, 14 Nov 2014 13:46:37 +0000
Subject: [PATCH] #2021 fix - Fixed some JS code to work with a WAR deployment

---
 securis/src/main/webapp/js/licenses.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/securis/src/main/webapp/js/licenses.js b/securis/src/main/webapp/js/licenses.js
index 71b5014..0921b5d 100644
--- a/securis/src/main/webapp/js/licenses.js
+++ b/securis/src/main/webapp/js/licenses.js
@@ -38,7 +38,7 @@
 	            'delete': [PACK_STATUS.CREATED, PACK_STATUS.CANCELLED]
 	    }
 		
-		var packResource = $resource('/pack/:packId/:action', 
+		var packResource = $resource('pack/:packId/:action', 
 				{
 					packId : '@id',
 					action : '@action'
@@ -166,7 +166,7 @@
 	            'delete': [LIC_STATUS.CREATED, LIC_STATUS.CANCELLED]
 	    }
 		
-        var licenseResource = $resource('/license/:licenseId/:action', {
+        var licenseResource = $resource('license/:licenseId/:action', {
             licenseId : '@id',
 			action : '@action'
 		},

--
Gitblit v1.3.2