Francesco Romani has uploaded a new change for review. Change subject: webadmin: allow to edit boot menu in templates ......................................................................
webadmin: allow to edit boot menu in templates this patch let the user edit the 'boot menu' setting in existing templates. Change-Id: Id1f2951c608bf624f9274204279b8924bb7787a9 Signed-off-by: Francesco Romani <from...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/66/28066/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java index 1a81923..f911407 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java @@ -218,6 +218,8 @@ getModel().getVmInitModel().init(template); getModel().getTemplateVersionName().setEntity(template.getTemplateVersionName()); + getModel().getBootMenuEnabled().setEntity(template.isBootMenuEnabled()); + initPriority(template.getPriority()); BuilderExecutor.build(template, getModel(), new SerialNumberPolicyVmBaseToUnitBuilder()); -- To view, visit http://gerrit.ovirt.org/28066 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id1f2951c608bf624f9274204279b8924bb7787a9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Francesco Romani <from...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches