summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-02-15 13:14:10 +0000
committerVaadin Code Review <review@vaadin.com>2013-02-15 13:14:10 +0000
commit46abcc10792d9e0ca3fa8ec2272c3bb2d1dde911 (patch)
tree309e45131f39e9a1df750373419e5222c2096f32 /client
parentf2ec1fa217fa0fe7f98b6a2b95ed075a2e874769 (diff)
parentae53b649fd80f0e3b737c7742c62322f05ac6371 (diff)
downloadvaadin-framework-46abcc10792d9e0ca3fa8ec2272c3bb2d1dde911.tar.gz
vaadin-framework-46abcc10792d9e0ca3fa8ec2272c3bb2d1dde911.zip
Merge "Ensure super method is called when iterating children in VAbsoluteLayout #10762" into 7.0
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;