ofri masad has uploaded a new change for review.

Change subject: webadmin: Fix priority options not presented bug
......................................................................

webadmin: Fix priority options not presented bug

When all hosts are down or in maintenance mode the priority options in
the "New Server" pop-up window, "High Availability" tab are not
presented.

The priority model is initialized only when a Template is selected.

Added a new initialization point for the priority model in the
initialization of the pop-up window.

Change-Id: I0c66119043625638399972bde95d0ab068d373fe
Bug-Url: https://bugzilla.redhat.com/903726
Signed-off-by: Ofri Masad <oma...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/67/11467/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
index 503ecca..9bc661c 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewVmModelBehavior.java
@@ -45,6 +45,7 @@
 
                     }
                 }, getModel().getHash()));
+        InitPriority(0);
     }
 
     @Override


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c66119043625638399972bde95d0ab068d373fe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <oma...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to