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/catalogs.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/securis/src/main/webapp/js/catalogs.js b/securis/src/main/webapp/js/catalogs.js
index 298af83..e437ddd 100644
--- a/securis/src/main/webapp/js/catalogs.js
+++ b/securis/src/main/webapp/js/catalogs.js
@@ -18,18 +18,18 @@
function($rootScope, $http, $resource, $q) {
var resources = {
application : $resource(
- '/application/:appId', {
+ 'application/:appId', {
appId : '@id'
}),
user : $resource('/user/:userId', {
userId : '@username'
}),
organization : $resource(
- '/organization/:orgId', {
+ 'organization/:orgId', {
orgId : '@id'
}),
licensetype : $resource(
- '/licensetype/:licenseTypeId', {
+ 'licensetype/:licenseTypeId', {
licenseTypeId : '@id'
})
}
@@ -38,7 +38,7 @@
var _current = null;
var _list = function() {
- return $http.get('/js/catalogs.json')
+ return $http.get('js/catalogs.json')
.success(function(data) {
_metadata = data;
})
--
Gitblit v1.3.2