From 76f56e0f027f79ad6b387047bcfdc2a400d6d253 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 22 Dec 2017 12:19:43 -0500 Subject: [PATCH] LP#1739803 Quiet some repetitive console messages for unit tests These console logs repeat during unit test runs and add clutter (ditto the browser console log). I commented them out instead of removing them since they may still be useful for debugging in the future. Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/services/env.js | 2 +- Open-ILS/web/js/ui/default/staff/services/grid.js | 2 +- Open-ILS/web/js/ui/default/staff/services/hatch.js | 2 +- Open-ILS/web/js/ui/default/staff/services/lovefield.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/services/env.js b/Open-ILS/web/js/ui/default/staff/services/env.js index 4fe755a209..1406a19362 100644 --- a/Open-ILS/web/js/ui/default/staff/services/env.js +++ b/Open-ILS/web/js/ui/default/staff/services/env.js @@ -134,7 +134,7 @@ function($q, $window , $injector , egAuth, egPCRUD, egIDL) { if (!egLovefield) { egLovefield = $injector.get('egLovefield'); } - console.debug('About to cache a list of ' + class_ + ' objects...'); + //console.debug('About to cache a list of ' + class_ + ' objects...'); egLovefield.isCacheGood(class_).then(function(good) { if (!good) egLovefield.setListInOfflineCache(class_, blob.list); }); diff --git a/Open-ILS/web/js/ui/default/staff/services/grid.js b/Open-ILS/web/js/ui/default/staff/services/grid.js index 17fc743615..b2d760af53 100644 --- a/Open-ILS/web/js/ui/default/staff/services/grid.js +++ b/Open-ILS/web/js/ui/default/staff/services/grid.js @@ -1437,7 +1437,7 @@ angular.module('egGridMod', if (!class_obj) return; - console.debug('egGrid: auto dotpath is: ' + dotpath); + //console.debug('egGrid: auto dotpath is: ' + dotpath); var path_parts = dotpath.split(/\./); // find the IDL class definition for the last element in the diff --git a/Open-ILS/web/js/ui/default/staff/services/hatch.js b/Open-ILS/web/js/ui/default/staff/services/hatch.js index e8107ea2a2..f7083a7b67 100644 --- a/Open-ILS/web/js/ui/default/staff/services/hatch.js +++ b/Open-ILS/web/js/ui/default/staff/services/hatch.js @@ -125,7 +125,7 @@ angular.module('egCoreMod') // When the Hatch extension loads, it tacks an attribute onto // the top-level documentElement to indicate it's available. if (!$window.document.documentElement.getAttribute('hatch-is-open')) { - console.debug("Hatch is not available"); + //console.debug("Hatch is not available"); return; } diff --git a/Open-ILS/web/js/ui/default/staff/services/lovefield.js b/Open-ILS/web/js/ui/default/staff/services/lovefield.js index dfebc4b5b6..174a420269 100644 --- a/Open-ILS/web/js/ui/default/staff/services/lovefield.js +++ b/Open-ILS/web/js/ui/default/staff/services/lovefield.js @@ -62,7 +62,7 @@ angular.module('egCoreMod') var deferred = $q.defer(); - console.debug('attempting offline DB connection'); + //console.debug('attempting offline DB connection'); try { osb.connect().then( function(db) { -- 2.43.2