summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-12 09:30:10 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-12 09:30:10 +0300
commit867fc84e6bf90829373d94d9be6a178feb8e64b3 (patch)
tree913ac8d37a4b4e97c4dae0653e5744f466297dc9 /client
parent9a5f17f9b23f690e9e6263cbe71230716fc737dc (diff)
downloadvaadin-framework-867fc84e6bf90829373d94d9be6a178feb8e64b3.tar.gz
vaadin-framework-867fc84e6bf90829373d94d9be6a178feb8e64b3.zip
Properly resolve icon urls in ordered layout (#9555)
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
index d7b0520784..7092109d11 100644
--- a/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
+++ b/client/src/com/vaadin/client/ui/orderedlayout/AbstractOrderedLayoutConnector.java
@@ -236,7 +236,7 @@ public abstract class AbstractOrderedLayoutConnector extends
String caption = child.getState().caption;
URLReference iconUrl = child.getState().resources
.get(ComponentConstants.ICON_RESOURCE);
- String iconUrlString = iconUrl != null ? iconUrl.toString() : null;
+ String iconUrlString = iconUrl != null ? iconUrl.getURL() : null;
List<String> styles = child.getState().styles;
String error = child.getState().errorMessage;
boolean showError = error != null;