summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-09-24 22:29:19 +0300
committerVaadin Code Review <review@vaadin.com>2015-09-29 14:00:23 +0000
commitf594b3aba5b89d7fe8231059125ffff57ca295b3 (patch)
tree0b9442636dc0ba9f6ad3a37d7a65c8880eced6fd /client
parentf71a6f1e5dc0b6bfbfb52739ad41a8064fe800ec (diff)
downloadvaadin-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.java3
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,