diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-02-23 10:58:26 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-02-23 10:58:26 +0000 |
commit | 0640eb048a65e5d7723ceeece686ca949abab066 (patch) | |
tree | acc58e138a51d26fb51ca3ba70ffd21380555692 /src/com/itmill/toolkit/terminal/gwt | |
parent | 34407602fcffc73301f11bf696e13dcdd04c918e (diff) | |
download | vaadin-framework-0640eb048a65e5d7723ceeece686ca949abab066.tar.gz vaadin-framework-0640eb048a65e5d7723ceeece686ca949abab066.zip |
fixes #2607 (a client side validity check)
svn changeset:6938/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/terminal/gwt')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java index e60e5fa67d..2cd5ce5d62 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java @@ -874,6 +874,11 @@ public class IScrollTable extends FlowPanel implements Table, ScrollListener { if (lastToBeRendered >= totalRows) { lastToBeRendered = totalRows - 1; } + // due Safari 3.1 bug (see #2607), verify reqrows, original + // problem unknown, but this should catch the issue + if (reqFirstRow + reqRows - 1 > lastToBeRendered) { + reqRows = lastToBeRendered - reqFirstRow; + } } client.updateVariable(paintableId, "firstToBeRendered", |