ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-13181. Config Versions list isn't updated while user is on the configs page after HIVE Metastore adding (onechiporenko)
Date Tue, 22 Sep 2015 11:51:00 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 82b2b960e -> 574dda5d1


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/574dda5d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/574dda5d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/574dda5d

Branch: refs/heads/trunk
Commit: 574dda5d1e2669f83439e40e2f8703b515aec8e6
Parents: 82b2b96
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Tue Sep 22 13:06:26 2015 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Tue Sep 22 14:50:50 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/574dda5d/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 0ea09c1..e4b27c6 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -967,6 +967,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));
     }


Mime
View raw message