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:04 UTC

[1/2] git commit: AMBARI-6387. Selected Hosts submenu of Actions dropdown on Hosts page is not disabled when no hosts are selected (Max Shepel via alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 d89bbd499 -> 9f3ba79eb


AMBARI-6387. Selected Hosts submenu of Actions dropdown on Hosts page is not disabled when no hosts are selected (Max Shepel via  alexantonenko)


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

Branch: refs/heads/branch-1.6.1
Commit: 9a9aca7b70ec06a5c00ebd7ca0b0100cca64e649
Parents: d89bbd4
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Jul 4 16:16:51 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Jul 4 19:32:57 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/templates/main/host/bulk_operation_menu.hbs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9a9aca7b/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/bulk_operation_menu.hbs b/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
index ab6974e..3d78986 100644
--- a/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
+++ b/ambari-web/app/templates/main/host/bulk_operation_menu.hbs
@@ -26,7 +26,7 @@
     <li class="dropdown-submenu">
       <a {{bindAttr class="view.parentView.showSelectedFilter::disabled"}} tabindex="-1" href="javascript:void(null);">{{view.menuItems.s.label}}
         ({{view.parentView.selectedHosts.length}})</a>
-        <ul {{bindAttr class="view.parentView.selectedCategory.hasHosts::hidden :dropdown-menu"}}>
+        <ul {{bindAttr class="view.parentView.showSelectedFilter::hidden :dropdown-menu"}}>
           {{#view view.hostItemView}}
               <a href="javascript:void(null);">{{view.label}}</a>
               <ul class="dropdown-menu">


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

Posted by al...@apache.org.
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();
   },