Change in ovirt-engine[master]: webadmin: New Template dialog: remove OK when dialog disable...
vszocs at redhat.com
vszocs at redhat.com
Wed May 16 13:23:37 UTC 2012
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 <tjelinek at redhat.com>
---
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 <tjelinek at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
More information about the Engine-commits
mailing list