You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2014/07/04 18:33:05 UTC

[2/2] git commit: AMBARI-6391. Clear selection on host page does not remove selection if you use pagination (alexantonenko)

AMBARI-6391. Clear selection on host page does not remove selection if you use pagination (alexantonenko)


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

Branch: refs/heads/branch-1.6.1
Commit: 9f3ba79eb8ea7b387feb56d043792733d01cf8b2
Parents: 9a9aca7
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Jul 4 18:11:46 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Jul 4 19:32:58 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/views/main/host.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9f3ba79e/ambari-web/app/views/main/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host.js b/ambari-web/app/views/main/host.js
index 2333d14..e9c90fd 100644
--- a/ambari-web/app/views/main/host.js
+++ b/ambari-web/app/views/main/host.js
@@ -331,6 +331,7 @@ App.MainHostView = App.TableView.extend(App.TableServerProvider, {
   clearSelection: function() {
     this.get('pageContent').setEach('selected', false);
     this.set('selectAllHosts', false);
+    App.db.setSelectedHosts(this.get('controller.name'), []);
     this.get('selectedHosts').clear();
     this.filterSelected();
   },