diff options
author | Artur Signell <artur@vaadin.com> | 2015-09-24 22:29:19 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-09-29 14:00:23 +0000 |
commit | f594b3aba5b89d7fe8231059125ffff57ca295b3 (patch) | |
tree | 0b9442636dc0ba9f6ad3a37d7a65c8880eced6fd /client | |
parent | f71a6f1e5dc0b6bfbfb52739ad41a8064fe800ec (diff) | |
download | vaadin-framework-f594b3aba5b89d7fe8231059125ffff57ca295b3.tar.gz vaadin-framework-f594b3aba5b89d7fe8231059125ffff57ca295b3.zip |
Skip checking unknown properties for @NoLayout on client side (#18334)
Change-Id: Ic03b419b8c10d5d7010c3d10479883149445fe40
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/metadata/TypeDataStore.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/metadata/TypeDataStore.java b/client/src/com/vaadin/client/metadata/TypeDataStore.java index 46f26f1b25..e3c1c8392a 100644 --- a/client/src/com/vaadin/client/metadata/TypeDataStore.java +++ b/client/src/com/vaadin/client/metadata/TypeDataStore.java @@ -366,7 +366,8 @@ public class TypeDataStore { private static native boolean hasNoLayout(JavaScriptObject typeData, String beanName, String propertyName) /*-{ - return typeData[beanName][propertyName].noLayout !== undefined; + // Data is not available for Javascript state object properties as GWT knows nothing about them + return typeData[beanName][propertyName] && typeData[beanName][propertyName].noLayout !== undefined; }-*/; private static native Object getJsPropertyValue(JavaScriptObject typeData, |