From 71da38205106cae0e67dcfb727f992d61f024280 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 11 Jul 2012 22:03:16 +0000 Subject: [PATCH] use Sammy.log for logging git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1360438 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js index fd21e6729..f9bc2687e 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js @@ -40,6 +40,8 @@ define("utils",["jquery","i18n","jquery.tmpl"], function() { if ( !window.archivaJavascriptLog ){ return; } + Sammy.log(message); + return; if (typeof window.console != 'undefined' && typeof window.console.log != 'undefined') { console.log(message); } else { -- 2.39.5