From 6d8aff7b3657332020ef215eb1b2fc16017e4cc8 Mon Sep 17 00:00:00 2001
From: Roberto Sánchez <roberto.sanchez@curisit.net>
Date: Sun, 26 Jan 2014 13:34:03 +0000
Subject: [PATCH] #395 feature - Added license history entity and new angular directive to load file content

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

diff --git a/securis/src/main/resources/static/js/catalogs.js b/securis/src/main/resources/static/js/catalogs.js
index 5f244ac..66c49f7 100644
--- a/securis/src/main/resources/static/js/catalogs.js
+++ b/securis/src/main/resources/static/js/catalogs.js
@@ -159,8 +159,7 @@
                                  **********************************************/
 
 								function _success(response) {
-									console.log('$resource')
-									console.log(response)
+									console.debug('$resource action success')
 								}
 								function _fail(response) {
 									console
@@ -244,9 +243,6 @@
 										promises.push(refs[f.name].$promise);
 									});
 
-									console.log('promises: ' + promises.length
-											+ ' ')
-									console.log(promises)
 									$q.all(promises)
 									  .then(function() {
 											    for(var i in refsFields) {
@@ -254,10 +250,7 @@
 											        var rf = refsFields[i];
 													var cat = that.getResource(rf.resource);
 													var pk = that.getPk(that.getMetadata(rf.resource))
-													console.log('PK field for '
-																	+ rf.name
-																	+ ' is '
-																	+ pk)
+													//console.log('PK field for ' + rf.name + ' is ' + pk)
 													var comboData = []
 													refs[rf.name].forEach(function(row) {
 																comboData.push({
@@ -271,8 +264,6 @@
 																		});
 															})
 													refs[rf.name] = comboData;
-													console.log('Ready for combo for ' + rf.name)
-													console.log(comboData);
 												}
 											    _current && _current.fields.forEach(function(f) {
 															if (f.values)
@@ -280,7 +271,6 @@
 														});
 											})
 
-									console.log(refs);
 									return refs;
 								}
 

--
Gitblit v1.3.2