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 7cbcb8a78..0ac3ad913 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 @@ -59,7 +59,7 @@ $(function() { ProxyConnectorsViewModel=function(){ this.proxyConnectors=ko.observableArray([]); var self=this; - this.uniqueManagedRepos=ko.observableArray([]); + this.managedRepositoryConnectorViews=ko.observableArray([]); editProxyConnector=function(proxyConnector){ @@ -91,10 +91,10 @@ $(function() { } this.displayGrid=function(){ - self.uniqueManagedRepos(this.findUniqueManagedRepos()); - $.log("uniqueManagedRepos:"+self.uniqueManagedRepos().length); + self.managedRepositoryConnectorViews(this.findUniqueManagedRepos()); + $.log("uniqueManagedRepos:"+self.managedRepositoryConnectorViews().length); this.gridViewModel = new ko.simpleGrid.viewModel({ - data: self.uniqueManagedRepos, + data: self.managedRepositoryConnectorViews, pageSize: 5, gridUpdateCallBack: function(){ $("#main-content #proxyConnectorsTable [title]").twipsy();