]> source.dussan.org Git - archiva.git/commitdiff
simplify binding in network proxies
authorOlivier Lamy <olamy@apache.org>
Mon, 6 Feb 2012 09:13:50 +0000 (09:13 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 6 Feb 2012 09:13:50 +0000 (09:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240939 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js

index 6fa855cd8751a892d71301e1d4b9df3099f3689e..988e6ebe815fc24e5f0291dfc07ab599f901c78b 100644 (file)
@@ -255,8 +255,7 @@ $(function() {
               $("#main-content #networkProxiesTable [title]").tooltip();
             }
           });
-          ko.applyBindings(networkProxiesViewModel,$("#main-content #networkProxiesTable").get(0));
-          ko.applyBindings(networkProxiesViewModel,$("#main-content #network-proxies-bulk-save-btn").get(0));
+          ko.applyBindings(networkProxiesViewModel,$("#main-content #network-proxies-view").get(0));
         }
       }
     );