Vojtech Szocs has submitted this change and it was merged.

Change subject: webadmin: New Template dialog: remove OK when dialog disabled 
(#589518)
......................................................................


webadmin: New Template dialog: remove OK when dialog disabled (#589518)

https://bugzilla.redhat.com/589518

virtual machies main tab -> select a machine -> click "Make Template"

If there is an error which prevents the Template to be created, the
whole dialog gets disabled, however, the OK button is still present.

The logic of disabling of the button is in
NewTemplateVmModelBehavior.DisableNewTemplateModel() which missed
the removing of the OK button.

Added removing of the OK button to this method.

Change-Id: Ibadf4777ef6c4903e81920dbf62c67d336a5e025
Signed-off-by: Tomas Jelinek <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewTemplateVmModelBehavior.java
1 file changed, 5 insertions(+), 4 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibadf4777ef6c4903e81920dbf62c67d336a5e025
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to