From 79121484b7e6f721f5435a102018152a164ed655 Mon Sep 17 00:00:00 2001
From: Roberto Sánchez <roberto.sanchez@curisit.net>
Date: Wed, 22 Jan 2014 18:55:29 +0000
Subject: [PATCH] #395 feature - Implemented pack section

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

diff --git a/securis/src/main/resources/static/js/admin.js b/securis/src/main/resources/static/js/admin.js
index fc1857a..a9850fe 100644
--- a/securis/src/main/resources/static/js/admin.js
+++ b/securis/src/main/resources/static/js/admin.js
@@ -4,7 +4,8 @@
 	var app = angular.module('securis');
 	
 	var HTTP_ERRORS = {
-			403: "Forbidden action",
+            401: "Unathorized action",
+            403: "Forbidden action",
 			500: "Server error",
 			404: "Element not found"
 	}
@@ -99,8 +100,8 @@
 
 			} ]);
 
-	app.controller('CatalogFormCtrl', [ '$scope', '$http', 'toaster', 'Catalogs',
-			function($scope, $http, toaster, Catalogs) {
+	app.controller('CatalogFormCtrl', [ '$scope', '$http', 'toaster', 'Catalogs', '$L',
+			function($scope, $http, toaster, Catalogs, $L) {
 				$scope.scope = $scope;
 				console.log('Form: currentCatalog:' + $scope.cataLogIndex);
 				

--
Gitblit v1.3.2