// 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(function() {
- var showBtn = Roo.get('show-dialog-btn');
- showBtn.on('click',function () {
+
+ Roo.get('show-dialog-btn').on('click',function () {
HelloWorld.show({ _el : this});
});
});
\ No newline at end of file