X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=examples%2Fdialog%2Fhello.js;fp=examples%2Fdialog%2Fhello.js;h=4b0200011a8c98bc86e3f2ba8d562e592ae8e9a8;hb=7dfd0d3cd68424e103991ef6946d2368cbe08a81;hp=ad6d5c7aa6f7826c1387e9227366e48bbe08bd39;hpb=3cdaa83d2b37fe8b58f538cc5da4196fbaec4bdd;p=roojs1 diff --git a/examples/dialog/hello.js b/examples/dialog/hello.js index ad6d5c7aa6..4b0200011a 100644 --- a/examples/dialog/hello.js +++ b/examples/dialog/hello.js @@ -66,8 +66,8 @@ var HelloWorld = { }, items : [ { - xtype: 'ContentPanel', - xns: Roo, + xtype: 'Content', + xns: Roo.panel, region : "center" } @@ -99,10 +99,10 @@ var HelloWorld = { } }; - - -// using onDocumentReady instead of window.onload initializes the application -// when the DOM is ready, without waiting for images and other resources to load + + +// using onDocumentReady instead of window.onload initializes the application +// when the DOM is ready, without waiting for images and other resources to load Roo.onReady(function() { Roo.get('show-dialog-btn').on('click',function () {