Tomas Jelinek has uploaded a new change for review.

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, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/32/4432/1
--
To view, visit http://gerrit.ovirt.org/4432
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to