ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-12421 FE: Ambari login is making POST call for all hosts. (ababiichuk)
Date Tue, 21 Jul 2015 11:02:35 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 4f78030c4 -> e6ada901a


AMBARI-12421 FE: Ambari login is making POST call for all hosts. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: e6ada901a63fdea3e6244e3ecc00f34f069325fa
Parents: 4f78030
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Tue Jul 21 14:02:10 2015 +0300
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Tue Jul 21 14:02:10 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/global/update_controller.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e6ada901/ambari-web/app/controllers/global/update_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/update_controller.js b/ambari-web/app/controllers/global/update_controller.js
index f5c5b84..9a1d53a 100644
--- a/ambari-web/app/controllers/global/update_controller.js
+++ b/ambari-web/app/controllers/global/update_controller.js
@@ -193,11 +193,10 @@ App.UpdateController = Em.Controller.extend({
       'stack_versions/repository_versions/RepositoryVersions/display_name',
       mainHostController = App.router.get('mainHostController'),
       sortProperties = mainHostController.getSortProps();
-
+    this.get('queryParams').set('Hosts', mainHostController.getQueryParameters(true));
     if (App.router.get('currentState.parentState.name') == 'hosts') {
       App.updater.updateInterval('updateHost', App.get('contentUpdateInterval'));
       hostDetailsParams = '';
-      this.get('queryParams').set('Hosts', mainHostController.getQueryParameters(true));
     }
     else {
       if (App.router.get('currentState.parentState.name') == 'hostDetails') {


Mime
View raw message