examples/bootstrap/modal.js
authorEdward <edward@roojs.com>
Fri, 21 Mar 2014 06:01:53 +0000 (14:01 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Mar 2014 06:01:53 +0000 (14:01 +0800)
examples/bootstrap/modal.js

index 20f7c8c..fe23fb8 100644 (file)
@@ -48,7 +48,18 @@ Roo.example.modal = new Roo.XComponent({
                 {
                     xtype: 'Container',
                     xns: Roo.bootstrap,
-                    html : '<script type="IN/Login"></script>'
+                    items : [
+                        {
+                            xtype: 'Img',
+                            xns: Roo.bootstrap,
+                            src : 'http://www.lifestylecareers.com.au/plugins/p10_mi_loginpanel/log-in-linkedin-small.png',
+                            listeners : {
+                                click : function (e) {
+                                    _this.loginModal.hide();
+                                }
+                            }
+                        }
+                    ]
                 },
                 {
                     xtype: 'Container',