Einav Cohen has submitted this change and it was merged.

Change subject: webadmin,userportal: Fix null-command grid button visibility
......................................................................


webadmin,userportal: Fix null-command grid button visibility

Grid buttons whose UICommand is null fall back to using empty
(no-op) command singleton object (EMPTY_COMMAND).

Previously, EMPTY_COMMAND was declared with IsAvailable and
IsExecutionAllowed properties both set to 'false'. This meant
that the corresponding UI button was both hidden and disabled.

After this patch, EMPTY_COMMAND leaves IsAvailable property
to its original value ('true'), so that the corresponding UI
button stays visible at all times.

Change-Id: Ic04e99901e59bb4fb85afac1e8db22088ecb3f59
Signed-off-by: Vojtech Szocs <[email protected]>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/action/UiCommandButtonDefinition.java
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Einav Cohen: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic04e99901e59bb4fb85afac1e8db22088ecb3f59
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to