aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/static/app/policy/policy.controller.list.js
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-06-09 16:18:59 +0200
committerasteroide <thomas.duval@orange.com>2017-06-09 16:18:59 +0200
commit60bb98696ee93f979914d8e88ed4708f59fcff9c (patch)
treea404880ec261f95c69fa4a6a1edd50ef9a66d160 /moonv4/moon_gui/static/app/policy/policy.controller.list.js
parent8039214d0caedfec5456bd8ee0898a1b9a55629a (diff)
Stable version
Change-Id: I70001bedbdf1823cb9e8dccd545800387777201b
Diffstat (limited to 'moonv4/moon_gui/static/app/policy/policy.controller.list.js')
-rw-r--r--moonv4/moon_gui/static/app/policy/policy.controller.list.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/moonv4/moon_gui/static/app/policy/policy.controller.list.js b/moonv4/moon_gui/static/app/policy/policy.controller.list.js
index dc2db2cc..fc2c6503 100644
--- a/moonv4/moon_gui/static/app/policy/policy.controller.list.js
+++ b/moonv4/moon_gui/static/app/policy/policy.controller.list.js
@@ -6,9 +6,9 @@
.module('moon')
.controller('PolicyListController', PolicyListController);
- PolicyListController.$inject = ['$scope', 'policies', 'ngTableParams', '$filter', '$modal', '$rootScope'];
+ PolicyListController.$inject = ['$scope', 'policies', 'NgTableParams', '$filter', '$modal', '$rootScope'];
- function PolicyListController($scope, policies, ngTableParams, $filter, $modal, $rootScope) {
+ function PolicyListController($scope, policies, NgTableParams, $filter, $modal, $rootScope) {
var list = this;
@@ -69,7 +69,7 @@
function newPoliciesTable() {
- list.table = new ngTableParams({
+ list.table = new NgTableParams({
page: 1, // show first page
count: 10, // count per page