});
}
-}
+};
\r
// create the HelloWorld application (single instance)\r
\r
// using onDocumentReady instead of window.onload initializes the application\r
// when the DOM is ready, without waiting for images and other resources to load\r
-Roo.onReady(HelloWorld.init, HelloWorld, true);
\ No newline at end of file
+Roo.onReady(function() {
+ var showBtn = Roo.get('show-dialog-btn');
+ showBtn.on('click',function () {
+ HelloWorld.show({ _el, this});
+ });
+});
\ No newline at end of file