From: Olivier Lamy Date: Wed, 11 Jul 2012 22:03:16 +0000 (+0000) Subject: use Sammy.log for logging X-Git-Tag: archiva-1.4-M3~507 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71da38205106cae0e67dcfb727f992d61f024280;p=archiva.git use Sammy.log for logging git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1360438 13f79535-47bb-0310-9956-ffa450edef68 --- 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 {