examples/bootstrap/modal.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 03:38:58 +0000 (11:38 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 03:38:58 +0000 (11:38 +0800)
examples/bootstrap/modal.js

index f4142fb..54bfaa5 100644 (file)
@@ -34,7 +34,7 @@ Roo.apply(Roo.example.modal, {
      
         var _this = this;
             
-        return {
+        this.dialog = Roo.factory({
             xtype: 'Modal',
             xns: Roo.bootstrap,
             title : "Login",
@@ -88,6 +88,6 @@ Roo.apply(Roo.example.modal, {
                     ]
                 }
             ]
-        };
+        });
     }
 });
\ No newline at end of file