aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java')
-rw-r--r--src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java b/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java
index a07700a6ce..49aac93ded 100644
--- a/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java
+++ b/src/com/itmill/toolkit/demo/featurebrowser/JavaScriptAPIExample.java
@@ -59,7 +59,7 @@ public class JavaScriptAPIExample extends CustomComponent {
//
Label l = new Label(
- "This label will update it's value AFTER it's rendered to the client. "
+ "This label will update it's server-side value AFTER it's rendered to the client-side. "
+ "The client will be synchronized on reload, when you click a button, "
+ "or when itmill.forceSync() is called.") {
@@ -86,7 +86,6 @@ public class JavaScriptAPIExample extends CustomComponent {
try {
Thread.sleep(500);
label.setValue(new Date().toString());
- join();
} catch (Exception e) {
e.printStackTrace();
}