You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2015/09/22 13:48:44 UTC

ambari git commit: AMBARI-13181. Config Versions list isn't updated while user is on the configs page after HIVE Metastore adding (onechiporenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 d23228c78 -> 6f859fada


AMBARI-13181. Config Versions list isn't updated while user is on the configs page after HIVE Metastore adding (onechiporenko)


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

Branch: refs/heads/branch-2.1
Commit: 6f859fada5ec836d4f4c86ebb116ee9c1c84a1db
Parents: d23228c
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Tue Sep 22 13:06:26 2015 +0300
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Tue Sep 22 14:44:44 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6f859fad/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js b/ambari-web/app/controllers/main/host/details.js
index 75937bf..c990d0c 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -976,6 +976,9 @@ App.MainHostDetailsController = Em.Controller.extend({
    * @param params
    */
   installHostComponent: function (data, opt, params) {
+    if (App.router.get('location.location.hash').contains('configs')) {
+      App.router.get('mainServiceInfoConfigsController').loadStep();
+    }
     if (params.host) {
       componentsUtils.installHostComponent(params.host, App.StackServiceComponent.find(params.componentName));
     }