Browse Source

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

aBabiichuk 10 years ago
parent
commit
e6ada901a6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ambari-web/app/controllers/global/update_controller.js

+ 1 - 2
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') {