aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-07-11 22:03:16 +0000
committerOlivier Lamy <olamy@apache.org>2012-07-11 22:03:16 +0000
commit71da38205106cae0e67dcfb727f992d61f024280 (patch)
tree3520744edc92c58920f7e97d76b91f4cccaab513 /archiva-modules
parent69f92105d52195dd6ce9581f25a8277b469610b8 (diff)
downloadarchiva-71da38205106cae0e67dcfb727f992d61f024280.tar.gz
archiva-71da38205106cae0e67dcfb727f992d61f024280.zip
use Sammy.log for logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1360438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js2
1 files changed, 2 insertions, 0 deletions
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 {