Alissa Bonas has uploaded a new change for review. Change subject: webadmin: Hide V Format field in storage domain ......................................................................
webadmin: Hide V Format field in storage domain Hide the format (V1,V3, etc.) field in storage popup dialog (create new domain) when selecting a specific data center, because the format is already specified in the dropdown list of each data center, and because the field is disabled anyway so user cannot change its content. The format field remains visible and editable when selecting "none" in data center dropdown list. Change-Id: I4478581f9526635ed8f9cc5ee922a544dc530e87 Signed-off-by: Alissa Bonas <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/23/15323/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java index 301b1dc..77670f6 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java @@ -657,7 +657,7 @@ if (!dataCenter.getId().equals(UnassignedDataCenterId)) { getFormat().setIsChangable(false); - + getFormat().setIsAvailable(false); // If data center has format defined and the selected-item role is Data, choose it. if (dataCenter.getStoragePoolFormatType() != null && getSelectedItem().getRole() == StorageDomainType.Data) @@ -708,7 +708,7 @@ } getFormat().setIsChangable(true); - + getFormat().setIsAvailable(true); formats.add(StorageFormatType.V1); if ((getSelectedItem().getType() == StorageType.FCP || getSelectedItem().getType() == StorageType.ISCSI) -- To view, visit http://gerrit.ovirt.org/15323 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4478581f9526635ed8f9cc5ee922a544dc530e87 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
