Kanagaraj M has uploaded a new change for review.

Change subject: webadmin: Fix enabling gluster hooks actions
......................................................................

webadmin: Fix enabling gluster hooks actions

'Enable' action was getting enable even though
the selected hook is already enabled. This is
fixed now.

Change-Id: Icf5984305986f00a663d35218a3ead86a849fac5
Signed-off-by: Kanagaraj M <kmayi...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGlusterHookListModel.java
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/14515/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGlusterHookListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGlusterHookListModel.java
index 2e2cd11..1eccf23 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGlusterHookListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGlusterHookListModel.java
@@ -141,6 +141,13 @@
     }
 
     @Override
+    protected void onSelectedItemChanged()
+    {
+        super.onSelectedItemChanged();
+        updateActionAvailability();
+    }
+
+    @Override
     protected void selectedItemsChanged() {
         super.selectedItemsChanged();
         updateActionAvailability();


--
To view, visit http://gerrit.ovirt.org/14515
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf5984305986f00a663d35218a3ead86a849fac5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayi...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to