From: Leif Åstrand Date: Fri, 20 Jan 2012 07:35:19 +0000 (+0200) Subject: Change getConfigString to not return null for empty string (#8274) X-Git-Tag: 7.0.0.alpha2~536^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=51898d283835e48605ce4faea1299aa7a8bbecfd;p=vaadin-framework.git Change getConfigString to not return null for empty string (#8274) --- 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 +"";