Vojtech Szocs has uploaded a new change for review.

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(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/6116/1
--
To view, visit http://gerrit.ovirt.org/6116
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to