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

[2/3] ambari git commit: Revert "AMBARI-10297. Hosts List Actions list always shows one more than what is selected (alexantonenko)"

Revert "AMBARI-10297. Hosts List Actions list always shows one more than what is selected (alexantonenko)"

This reverts commit 70ff2b27fefe0ae6b318e6dbbb3aaa5e31d7d709.


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

Branch: refs/heads/branch-2.0.0
Commit: 3b11b714207bc0a62fda23860df188dd5f713577
Parents: 205911d
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Thu Apr 9 07:47:47 2015 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Thu Apr 9 07:47:47 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3b11b714/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 1df8c0c..5eac7ca 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -1753,8 +1753,6 @@ App.MainHostDetailsController = Em.Controller.extend({
       onPrimary: function () {
         var popup = this;
         var completeCallback = function () {
-          var remainingHosts = App.db.getSelectedHosts('mainHostController').removeObject(self.get('content.hostName'));
-          App.db.setSelectedHosts('mainHostController', remainingHosts);
           popup.hide();
         };
         self.doDeleteHost(completeCallback);