From 51898d283835e48605ce4faea1299aa7a8bbecfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Fri, 20 Jan 2012 09:35:19 +0200 Subject: [PATCH] Change getConfigString to not return null for empty string (#8274) --- .../vaadin/terminal/gwt/client/ApplicationConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java index f4f3643169..0bd4be4d92 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java @@ -45,7 +45,7 @@ public class ApplicationConfiguration implements EntryPoint { private native String getConfigString(String name) /*-{ var value = this.getConfig(name); - if (!value) { + if (value === null || value === undefined) { return null; } else { return value +""; -- 2.39.5