examples/bootstrap/dashboard1.bjs.494DMX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:44 +0000 (17:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:14:44 +0000 (17:14 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.GC9DMX
examples/bootstrap/dashboard1.js

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index 246ee43..d56f71d 100644 (file)
                                                                                                 {
                                                                                                     "xtype" : "Menu",
                                                                                                     "$ xns" : "Roo.bootstrap",
-                                                                                                    "* prop" : "menu"
+                                                                                                    "* prop" : "menu",
+                                                                                                    "items" : [
+                                                                                                        {
+                                                                                                            "xtype" : "MenuItem",
+                                                                                                            "$ xns" : "Roo.bootstrap"
+                                                                                                        }
+                                                                                                    ]
                                                                                                 }
                                                                                             ]
                                                                                         }
index 6407b43..1d4c60b 100644 (file)
@@ -386,7 +386,14 @@ dashboard1 = new Roo.XComponent({
                                                                                     before : {
                                                                                         menu : {
                                                                                             xtype : 'Menu',
-                                                                                            xns : Roo.bootstrap
+                                                                                            xns : Roo.bootstrap,
+                                                                                            items : [
+                                                                                               {
+                                                                                                    xtype : 'MenuItem',
+                                                                                                    xns : Roo.bootstrap
+                                                                                                }
+                                                                                            ]
+
                                                                                         },
                                                                                         weight : 'primary',
                                                                                         xtype : 'Button',