You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/07/21 13:02:35 UTC
ambari git commit: AMBARI-12421 FE: Ambari login is making POST call
for all hosts. (ababiichuk)
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 <ab...@cybervisiontech.com>
Authored: Tue Jul 21 14:02:10 2015 +0300
Committer: aBabiichuk <ab...@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') {