Pman.Tab.XtuplePurchasesVendors.bjs
authorEdward <edward@roojs.com>
Thu, 30 Jan 2014 06:00:04 +0000 (14:00 +0800)
committerEdward <edward@roojs.com>
Thu, 30 Jan 2014 06:00:04 +0000 (14:00 +0800)
Pman.Tab.XtuplePurchasesVendors.js

Pman.Tab.XtuplePurchasesVendors.bjs
Pman.Tab.XtuplePurchasesVendors.js

index 555f68b..e947412 100644 (file)
                                                 },
                                                 {
                                                     "|xns": "Roo.Toolbar",
-                                                    "xtype": "Button"
+                                                    "xtype": "Button",
+                                                    "items": [
+                                                        {
+                                                            "|xns": "Roo.menu",
+                                                            "xtype": "Menu",
+                                                            "*prop": "menu"
+                                                        }
+                                                    ]
                                                 },
                                                 {
                                                     "listeners": {
index b436375..da3b79c 100644 (file)
@@ -258,7 +258,11 @@ Pman.Tab.XtuplePurchasesVendors = new Roo.XComponent({
                                     },
                                     {
                                         xtype: 'Button',
-                                        xns: Roo.Toolbar
+                                        xns: Roo.Toolbar,
+                                        menu : {
+                                            xtype: 'Menu',
+                                            xns: Roo.menu
+                                        }
                                     },
                                     {
                                         xtype: 'Button',