ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-13258. Kerberos Wizard: next button on Confirm Configuration doesn't work after page refresh (akovalenko)
Date Mon, 28 Sep 2015 16:13:08 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 6e8f87e7f -> 8bf698c9c


AMBARI-13258. Kerberos Wizard: next button on Confirm Configuration doesn't work after page
refresh (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8bf698c9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8bf698c9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8bf698c9

Branch: refs/heads/branch-2.1
Commit: 8bf698c9caef9f65998a0733a0eaa53ba63eb469
Parents: 6e8f87e
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Mon Sep 28 18:59:37 2015 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Mon Sep 28 18:59:37 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/add_kerberos_routes.js | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8bf698c9/ambari-web/app/routes/add_kerberos_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_kerberos_routes.js b/ambari-web/app/routes/add_kerberos_routes.js
index bfae154..f97c444 100644
--- a/ambari-web/app/routes/add_kerberos_routes.js
+++ b/ambari-web/app/routes/add_kerberos_routes.js
@@ -290,8 +290,6 @@ module.exports = App.WizardRoute.extend({
 
     next: function (router) {
       var kerberosWizardController = router.get('kerberosWizardController');
-      var kerberosWizardStep4Controller = router.get('kerberosWizardStep4Controller');
-      kerberosWizardController.saveServiceConfigProperties(kerberosWizardStep4Controller);
       kerberosWizardController.setDBProperties({
         tasksStatuses: null,
         tasksRequestIds: null
@@ -319,14 +317,11 @@ module.exports = App.WizardRoute.extend({
     back: Em.Router.transitionTo('step4'),
     next: function (router) {
       var kerberosWizardController = router.get('kerberosWizardController');
-      var callback = function () {
-        kerberosWizardController.setDBProperties({
-          tasksStatuses: null,
-          tasksRequestIds: null
-        });
-        router.transitionTo('step7');
-      };
-      callback();
+      kerberosWizardController.setDBProperties({
+        tasksStatuses: null,
+        tasksRequestIds: null
+      });
+      router.transitionTo('step7');
     }
   }),
 


Mime
View raw message