aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-02-15 12:45:16 +0200
committerJohn Ahlroos <john@vaadin.com>2013-02-15 12:46:25 +0200
commitae53b649fd80f0e3b737c7742c62322f05ac6371 (patch)
tree9ddb10a4ee2fe8093a81dad39139bcb3332e1202 /client
parent87b3df113b41ebbff84087fffd897ed70fe045dc (diff)
downloadvaadin-framework-ae53b649fd80f0e3b737c7742c62322f05ac6371.tar.gz
vaadin-framework-ae53b649fd80f0e3b737c7742c62322f05ac6371.zip
Ensure super method is called when iterating children in VAbsoluteLayout #10762
Change-Id: I45d4216333158675590ec903e25bf36f27738bcb
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VAbsoluteLayout.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/VAbsoluteLayout.java b/client/src/com/vaadin/client/ui/VAbsoluteLayout.java
index 24d573b28c..92a51f209d 100644
--- a/client/src/com/vaadin/client/ui/VAbsoluteLayout.java
+++ b/client/src/com/vaadin/client/ui/VAbsoluteLayout.java
@@ -102,7 +102,7 @@ public class VAbsoluteLayout extends ComplexPanel {
@Override
public Widget getWidget(int index) {
for (int i = 0, j = 0; i < super.getWidgetCount(); i++) {
- Widget w = getWidget(i);
+ Widget w = super.getWidget(i);
if (w instanceof AbsoluteWrapper) {
if (j == index) {
return w;
@@ -123,7 +123,7 @@ public class VAbsoluteLayout extends ComplexPanel {
public int getWidgetCount() {
int counter = 0;
for (int i = 0; i < super.getWidgetCount(); i++) {
- if (getWidget(i) instanceof AbsoluteWrapper) {
+ if (super.getWidget(i) instanceof AbsoluteWrapper) {
counter++;
}
}
@@ -140,7 +140,7 @@ public class VAbsoluteLayout extends ComplexPanel {
@Override
public int getWidgetIndex(Widget child) {
for (int i = 0, j = 0; i < super.getWidgetCount(); i++) {
- Widget w = getWidget(i);
+ Widget w = super.getWidget(i);
if (w instanceof AbsoluteWrapper) {
if (child == w) {
return j;