Updated Branches: refs/heads/trunk 88619ef27 -> 8108ca459
AMBARI-4165. Add Service wizard: after last step you are back on first step. (Denys Buzhor via onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8108ca45 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8108ca45 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8108ca45 Branch: refs/heads/trunk Commit: 8108ca459514ce2aea84fb612804c6f1d8b5a950 Parents: 88619ef Author: Oleg Nechiporenko <[email protected]> Authored: Wed Dec 25 13:22:24 2013 +0200 Committer: Oleg Nechiporenko <[email protected]> Committed: Wed Dec 25 13:22:24 2013 +0200 ---------------------------------------------------------------------- ambari-web/app/routes/add_service_routes.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8108ca45/ambari-web/app/routes/add_service_routes.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js index 9782485..bc4e16b 100644 --- a/ambari-web/app/routes/add_service_routes.js +++ b/ambari-web/app/routes/add_service_routes.js @@ -51,8 +51,10 @@ module.exports = Em.Route.extend({ wizardControllerName: App.router.get('addServiceController.name'), localdb: App.db.data }); - App.router.get('updateController').updateServiceMetric(function(){ - self.hide(); + App.router.get('updateController').updateServices(function(){ + App.router.get('updateController').updateServiceMetric(function(){ + self.hide(); + }); }); App.router.transitionTo('main.services.index'); },
