Kanagaraj M has uploaded a new change for review. Change subject: webadmin: Fix gluster cluster selection in host dialog ......................................................................
webadmin: Fix gluster cluster selection in host dialog After selecting a gluster cluster from the System Tree, when try to create a new host, the host dialog doesn't select the correct cluster and DC. This fixed now. Change-Id: I7472e5c50687057860288c8f1ba652fff9fb3cb2 Bug-Url: https://bugzilla.redhat.com/851084 Signed-off-by: Kanagaraj M <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/49/12549/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java index d6d0ea0..ca5b817 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java @@ -593,6 +593,7 @@ break; case Hosts: case Cluster: + case Cluster_Gluster: VDSGroup cluster = (VDSGroup) hostListModel.getSystemTreeSelectedItem().getEntity(); for (storage_pool dc : dataCenters) { @@ -1230,6 +1231,7 @@ break; case Hosts: case Cluster: + case Cluster_Gluster: model.getCluster().setIsChangable(false); model.getCluster().setInfo("Cannot change Host's Cluster in tree context"); //$NON-NLS-1$ model.getDataCenter().setIsChangable(false); -- To view, visit http://gerrit.ovirt.org/12549 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7472e5c50687057860288c8f1ba652fff9fb3cb2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kanagaraj M <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
