]> source.dussan.org Git - vaadin-framework.git/commitdiff
Change getConfigString to not return null for empty string (#8274)
authorLeif Åstrand <leif@vaadin.com>
Fri, 20 Jan 2012 07:35:19 +0000 (09:35 +0200)
committerLeif Åstrand <leif@vaadin.com>
Fri, 20 Jan 2012 07:35:19 +0000 (09:35 +0200)
src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java

index f4f3643169871cf34df9b2a8fbd2d4d42c8813e9..0bd4be4d921319715f94115630cfc31716b26ea9 100644 (file)
@@ -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 +"";