Noam Slomianko has uploaded a new change for review.

Change subject: webadmin: unable to remove more then one quota at a time 
(#848816)
......................................................................

webadmin: unable to remove more then one quota at a time (#848816)

https://bugzilla.redhat.com/848816

Problem:
        Remove button got grayed out if more then one quota was selected
Solution:
        Fixed remove button disable condiotion

Change-Id: Iad182fbdcf7b621757b57e17ec516794ab708dbc
Signed-off-by: Noam Slomianko <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/quota/QuotaListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/74/7474/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/quota/QuotaListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/quota/QuotaListModel.java
index 50f5c29..79665bb 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/quota/QuotaListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/quota/QuotaListModel.java
@@ -138,7 +138,7 @@
                 getSelectedItems() != null && getSelectedItem() != null ? 
getSelectedItems()
                         : new ArrayList();
         getEditQuotaCommand().setIsExecutionAllowed(items.size() == 1);
-        getRemoveQuotaCommand().setIsExecutionAllowed(items.size() == 1);
+        getRemoveQuotaCommand().setIsExecutionAllowed(items.size() > 0);
         getCloneQuotaCommand().setIsExecutionAllowed(items.size() == 1);
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad182fbdcf7b621757b57e17ec516794ab708dbc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Noam Slomianko <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to