examples/bootstrap/sample.js
authorJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 11:24:03 +0000 (19:24 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 11:24:03 +0000 (19:24 +0800)
examples/bootstrap/sample.js

index 0e9979e..0024383 100644 (file)
@@ -1039,7 +1039,7 @@ Roo.example.bootstrap = new Roo.XComponent({
                                                                 {
                                                                     xtype: 'Button',
                                                                     xns: Roo.bootstrap,
-                                                                        menu: {
+                                                                        menu: [{
                                                                             xtype: 'Menu',
                                                                             xns: Roo.bootstrap,
                                                                             items: [
@@ -1062,7 +1062,7 @@ Roo.example.bootstrap = new Roo.XComponent({
                                                                                     href : 'http://roojs.com'
                                                                                 }
                                                                             ]
-                                                                        }
+                                                                        }]
                                                                 }
                                                             ]
                                                         }