From 903dd356477091bc20408bb6d0592df8c3a93c72 Mon Sep 17 00:00:00 2001 From: Shu Muto Date: Thu, 21 Jul 2016 17:49:25 +0900 Subject: [PATCH] fix use of Horizon's registration service 'initActions' method has been moved from 'horizon.framework.conf.resource-type-registry.service' to the return object of 'getResourceType' method. Also, args have changed. This patch fixes it. Change-Id: I2a10c4d5de7a34fabb7f1e1a726ebbf06e2c02f8 Closes-Bug: #1605131 --- .../static/dashboard/project/queues/table/queue.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaqar_ui/static/dashboard/project/queues/table/queue.controller.js b/zaqar_ui/static/dashboard/project/queues/table/queue.controller.js index 561cbe9..fa20fbb 100644 --- a/zaqar_ui/static/dashboard/project/queues/table/queue.controller.js +++ b/zaqar_ui/static/dashboard/project/queues/table/queue.controller.js @@ -66,7 +66,7 @@ ////////// function init() { - registry.initActions(type, $scope); + ctrl.resourceType.initActions($scope); zaqar.getQueues().then(showQueues); }