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(){
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();