From: Olivier Lamy Date: Fri, 10 Feb 2012 18:25:40 +0000 (+0000) Subject: cleanup some noisy logs X-Git-Tag: archiva-1.4-M3~1326 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3891904547d0f98db092fde51f0a5fbc3ec3e259;p=archiva.git cleanup some noisy logs git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242877 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index 976cc3c83..7e2719b00 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -178,7 +178,6 @@ $(function() { var alinkNodes=$("#sidebar-content #main-menu").find("li a"); $.log("alinkNodes:"+alinkNodes.length); alinkNodes.on("click",function(){ - $.log("click"); alinkNodes.parent("li").removeClass("active"); $(this).parent("li").addClass("active"); }) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js index 7dcd1f6d9..76fdba8af 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js @@ -25,68 +25,59 @@ $(function() { //private String sourceRepoId; this.sourceRepoId=ko.observable(sourceRepoId); this.sourceRepoId.subscribe(function(newValue){ - $.log("modify sourceRepo:"+newValue); self.modified(true); }); //private String targetRepoId; this.targetRepoId=ko.observable(targetRepoId); this.targetRepoId.subscribe(function(newValue){ - $.log("modify targetRepo:"+newValue); self.modified(true); }); //private String proxyId; this.proxyId=ko.observable(proxyId); this.proxyId.subscribe(function(newValue){ - $.log("modify proxyId"); self.modified(true); }); //private List blackListPatterns; this.blackListPatterns=ko.observableArray(blackListPatterns==null?[]:blackListPatterns); this.blackListPatterns.subscribe(function(newValue){ - $.log("modify blackListPatterns"); self.modified(true); }); //private List whiteListPatterns; this.whiteListPatterns=ko.observableArray(whiteListPatterns==null?[]:whiteListPatterns); this.whiteListPatterns.subscribe(function(newValue){ - $.log("modify whiteListPatterns"); self.modified(true); }); //private List policiesEntries; this.policiesEntries=ko.observableArray(policiesEntries==null?new Array():policiesEntries); this.policiesEntries.subscribe(function(newValue){ - $.log("policiesEntries policies"); self.modified(true); }); //private List properties; this.propertiesEntries=ko.observableArray(propertiesEntries==null?new Array():propertiesEntries); this.propertiesEntries.subscribe(function(newValue){ - $.log("propertiesEntries modified"); self.modified(true); }); //private boolean disabled = false; this.disabled=ko.observable(disabled); this.disabled.subscribe(function(newValue){ - $.log("modify disabled"); self.modified(true); }); //private int order = 0; this.order=ko.observable(order?order:0); this.order.subscribe(function(newValue){ - $.log("modify order"); self.modified(true); }); this.modified=ko.observable(false); - this.modified.subscribe(function(newValue){$.log("ProxyConnector modified:"+newValue)}); + //this.modified.subscribe(function(newValue){$.log("ProxyConnector modified:"+newValue)}); this.updatePolicyEntry=function(key,value){ for(i=0;i