You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/02/10 19:25:40 UTC

svn commit: r1242877 - in /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva: main.js proxy-connectors.js

Author: olamy
Date: Fri Feb 10 18:25:40 2012
New Revision: 1242877

URL: http://svn.apache.org/viewvc?rev=1242877&view=rev
Log:
cleanup some noisy logs

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

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js?rev=1242877&r1=1242876&r2=1242877&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js Fri Feb 10 18:25:40 2012
@@ -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");
     })

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js?rev=1242877&r1=1242876&r2=1242877&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js Fri Feb 10 18:25:40 2012
@@ -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()){