From 4650d399a3539ae191458acbc41d287407259d3a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 30 Jan 2012 16:31:22 +0000 Subject: [PATCH] use better naming convention git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237761 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/proxy-connectors.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();