Kanagaraj M has posted comments on this change.
Change subject: webadmin: Disable 'Reset All' when volume options empty
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeParameterListModel.java
Line 95: private void updateActionAvailability()
Line 96: {
Line 97:
getEditParameterCommand().setIsExecutionAllowed(getSelectedItems() != null &&
getSelectedItems().size() == 1);
Line 98:
getResetParameterCommand().setIsExecutionAllowed(getSelectedItems() != null &&
getSelectedItems().size() == 1);
Line 99: getResetAllParameterCommand().setIsExecutionAllowed(getItems()
!= null && ((List) getItems()).size() > 0);
Done
Line 100: }
Line 101:
Line 102: private void addParameter() {
Line 103: if (getWindow() != null) {
--
To view, visit http://gerrit.ovirt.org/13126
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib4b21a9307ef1c2cb6d491bdcc636a8a3cbec6c0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shireesh Anjal <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches