Change in ovirt-engine[master]: userportal: Disable remove button for blank template

derez at redhat.com derez at redhat.com
Sun Jul 8 21:31:57 UTC 2012


Daniel Erez has submitted this change and it was merged.

Change subject: userportal: Disable remove button for blank template
......................................................................


userportal: Disable remove button for blank template

extended view->select blank template

The backend validates it correctly, only the frontend check
in UserPortalTemplateListModel.UpdateActionAvailability()
was missing.

Change-Id: I26fa0ee656a3c9834c0caa1110eab09b637d61c7
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/UserPortalTemplateListModel.java
2 files changed, 13 insertions(+), 7 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I26fa0ee656a3c9834c0caa1110eab09b637d61c7
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>



More information about the Engine-commits mailing list