examples/dialog/hello.js
[roojs1] / examples / dialog / hello.js
index b1ea938..52e4c14 100644 (file)
@@ -51,7 +51,8 @@ var HelloWorld = {
             proxyDrag: true,
             listeners :{
                 show : function() {
-                
+                    var p = this.layout.getRegion('center').getPanel(0);
+                    p.update("Hello World");
                 }
             },
             center : {