use better naming convention

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-30 16:31:22 +00:00
parent fc4b4d3d36
commit 4650d399a3
1 changed files with 4 additions and 4 deletions

View File

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