examples/bootstrap/bootstrap.js
authorAlan Knowles <alan@roojs.com>
Tue, 14 Jan 2014 12:38:05 +0000 (20:38 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 14 Jan 2014 12:38:05 +0000 (20:38 +0800)
examples/bootstrap/bootstrap.js

index af9c39d..1407172 100644 (file)
@@ -69,11 +69,12 @@ Roo.example.bootstrap = new Roo.XComponent({
                         {
                             xtype: 'Item',
                             xns: Roo.bootstrap.Navbar,
-                            href: '',
+                            href: '#',
                             html: "dialog",
                             listeners : {
                                 click : function() {
-                                    _this.dialogs['test'].show();
+                                    Roo.ComponentMgr.get('test-modal-1').show()
+
                                 }
                             }