]> source.dussan.org Git - archiva.git/commitdiff
cleanup some noisy logs
authorOlivier Lamy <olamy@apache.org>
Fri, 10 Feb 2012 18:25:40 +0000 (18:25 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 10 Feb 2012 18:25:40 +0000 (18:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242877 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js

index 976cc3c831f7603f9fe8bf59a2f93540387648ab..7e2719b003eb1fac0f5b56a8041a2163afe4cad3 100644 (file)
@@ -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");
     })
index 7dcd1f6d9824965fc2a4877b88177e61763c978a..76fdba8af01c2e7a05ca2a9482d4c5f95f267ee2 100644 (file)
@@ -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<String> blackListPatterns;
     this.blackListPatterns=ko.observableArray(blackListPatterns==null?[]:blackListPatterns);
     this.blackListPatterns.subscribe(function(newValue){
-      $.log("modify blackListPatterns");
       self.modified(true);
     });
 
     //private List<String> whiteListPatterns;
     this.whiteListPatterns=ko.observableArray(whiteListPatterns==null?[]:whiteListPatterns);
     this.whiteListPatterns.subscribe(function(newValue){
-      $.log("modify whiteListPatterns");
       self.modified(true);
     });
 
     //private List<PropertyEntry> policiesEntries;
     this.policiesEntries=ko.observableArray(policiesEntries==null?new Array():policiesEntries);
     this.policiesEntries.subscribe(function(newValue){
-      $.log("policiesEntries policies");
       self.modified(true);
     });
 
     //private List<PropertyEntry> 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<policiesEntries.length;i++){
@@ -133,10 +124,7 @@ $(function() {
     }
 
     getSelectedPolicyOption=function(id){
-      $.log("getSelectedPolicyOption:"+id);
-
       var policiesEntries=self.proxyConnector.policiesEntries();
-      $.log("getSelectedPolicyOption policies.length:"+policiesEntries.length);
       if (policiesEntries!=null){
         for (i=0;i<policiesEntries.length;i++){
           var curKey = $.isFunction(policiesEntries[i].key)? policiesEntries[i].key():policiesEntries[i].key;
@@ -238,7 +226,6 @@ $(function() {
     }
 
     this.deleteProperty=function(key){
-      $.log("delete property key:"+key());
       for(i=0;i<self.proxyConnector.propertiesEntries().length;i++){
         var entry=self.proxyConnector.propertiesEntries()[i];
         if (entry.key()==key()){