Browse Source

Use correct type for UIDL value to avoid development mode problems (#12545)

Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6
tags/7.1.9
Artur Signell 10 years ago
parent
commit
84521fa4b4
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      client/src/com/vaadin/client/ui/VScrollTable.java

+ 2
- 2
client/src/com/vaadin/client/ui/VScrollTable.java View File

@@ -4232,8 +4232,8 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
// Already updated by setColWidth called from
// TableHeads.updateCellsFromUIDL in case of a server
// side resize
final String width = col.getStringAttribute("width");
c.setWidth(Integer.parseInt(width), true);
final int width = col.getIntAttribute("width");
c.setWidth(width, true);
}
} else if (recalcWidths) {
c.setUndefinedWidth();

Loading…
Cancel
Save