From: Olivier Lamy Date: Fri, 20 Jan 2012 13:22:44 +0000 (+0000) Subject: fix issue with pagination calculation X-Git-Tag: archiva-1.4-M3~1535 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b7ba2ba7ef54791f9c45588c6ee2a0ea1a25e353;p=archiva.git fix issue with pagination calculation git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233898 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout.simpleGrid.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout.simpleGrid.js index 9a3a1382a..af95ad36a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout.simpleGrid.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout.simpleGrid.js @@ -15,7 +15,7 @@ ko.simpleGrid = { // Defines a view model class you can use to populate a grid viewModel: function (configuration) { - this.data = ko.observableArray(configuration.data); + this.data = configuration.data; this.currentPageIndex = ko.observable(0); this.pageSize = configuration.pageSize || 5; this.columns = configuration.columns;