examples/dialog/hello.js
authorAlan Knowles <alan@akkbhome.com>
Sun, 12 Sep 2010 07:29:45 +0000 (15:29 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 12 Sep 2010 07:29:45 +0000 (15:29 +0800)
examples/dialog/hello.js

index 52e4c14..30ab36a 100644 (file)
@@ -49,10 +49,10 @@ var HelloWorld = {
             minWidth:300,
             minHeight:250,
             proxyDrag: true,
-            listeners :{
+            listeners : {
                 show : function() {
                     var p = this.layout.getRegion('center').getPanel(0);
-                    p.update("Hello World");
+                    p.setContent("Hello World");
                 }
             },
             center : {