Alexander Wels has submitted this change and it was merged.
Change subject: webadmin: Auto select index out of bounds
......................................................................
webadmin: Auto select index out of bounds
- Certain situations would cause the AbstractActionTable to try
and select the first visible item, when there are no visible items
this patch adds a check to make sure there are visible items
before selecting it.
Change-Id: I96b5175d85c8a5fdd8eb9f0776ada5b92266cb2f
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1287551
Signed-off-by: Alexander Wels <awels(a)redhat.com>
---
M
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/AbstractActionTable.java
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Alexander Wels: Verified
Jenkins CI: Passed CI tests
Vojtech Szocs: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/51458
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I96b5175d85c8a5fdd8eb9f0776ada5b92266cb2f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen(a)redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>