ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-6391. Clear selection on host page does not remove selection if you use pagination (alexantonenko)
Date Fri, 04 Jul 2014 16:36:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f3af59904 -> 84368e30a


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/84368e30
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/84368e30
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/84368e30

Branch: refs/heads/trunk
Commit: 84368e30a72eb820f566680d23e7f3f8c1d67277
Parents: f3af599
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri Jul 4 19:35:14 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri Jul 4 19:35:53 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/84368e30/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();
   },


Mime
View raw message