mirror of https://github.com/apache/archiva.git
use Sammy.log for logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1360438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69f92105d5
commit
71da382051
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue