Browse Source

Don't pass null to TableRowElement.as (#13334)

Change-Id: I73b5767370b770299adaacd40300c39e61c65337
tags/7.4.0.beta1
Leif Åstrand 9 years ago
parent
commit
e30be146b6
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      client/src/com/vaadin/client/ui/grid/Escalator.java

+ 3
- 3
client/src/com/vaadin/client/ui/grid/Escalator.java View File

@@ -2002,10 +2002,10 @@ public class Escalator extends Widget {

Profiler.enter("Escalator.AbstractStaticRowContainer.reapplyDefaultRowHeights");

TableRowElement tr = root.getRows().getItem(0);
Element tr = root.getRows().getItem(0);
while (tr != null) {
reapplyRowHeight(tr, getDefaultRowHeight());
tr = TableRowElement.as(tr.getNextSiblingElement());
reapplyRowHeight(TableRowElement.as(tr), getDefaultRowHeight());
tr = tr.getNextSiblingElement();
}

/*

Loading…
Cancel
Save