Tomas Jelinek has uploaded a new change for review.

Change subject: userportal,webadmin: Blank template has active action buttons 
(#840856)
......................................................................

userportal,webadmin: Blank template has active action buttons (#840856)

https://bugzilla.redhat.com/840856

Have at least one non-blank template. Select first the non-blank,
than the blank. The action buttons will be enabled.

Fixed by enriching the login of
TemplateListModel.isBlankTemplateSelected() which now checks
all the selected templates (getSelectedItems()) and not only
the first selected (getSelectedItem()).

This logic is common for both webadmin and userportal,
so this fix fixes the same problem in userportal as well.

Change-Id: I3959752d734c01d6d1b20afeacbecaa59f2b6608
Signed-off-by: Tomas Jelinek <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java
1 file changed, 24 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3959752d734c01d6d1b20afeacbecaa59f2b6608
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