anmolbabu has uploaded a new change for review.

Change subject: webadmin : Hide "CPU Architecture" from New/Edit Cluster popup
......................................................................

webadmin : Hide "CPU Architecture" from New/Edit Cluster popup

Hide "CPU Architecture" from New/Edit Cluster popup

Change-Id: I3fd2a21e1dc28a44e906994cf3d6e59106ca1f68
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1097082
Signed-off-by: Anmol Babu <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/81/28381/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
index 91c1fc7..438b478 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
@@ -1071,6 +1071,7 @@
         getRngHwrngSourceRequired().setEntity(false);
 
         setArchitecture(new ListModel<ArchitectureType>());
+        
getArchitecture().setIsAvailable(ApplicationModeHelper.isModeSupported(ApplicationMode.VirtOnly));
 
         setIsGeneralTabValid(true);
         setIsResiliencePolicyTabAvailable(true);


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

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

Reply via email to