Pman.Dialog.AdminCoreEnum.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 15 Oct 2013 07:17:55 +0000 (15:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Oct 2013 07:17:55 +0000 (15:17 +0800)
Pman.Dialog.AdminCoreEnum.js

Pman.Dialog.AdminCoreEnum.bjs
Pman.Dialog.AdminCoreEnum.js

index 8f2fbeb..c14cb57 100644 (file)
                                     "displayInfo": true,
                                     "displayMsg": "Displaying core_enum{0} - {1} of {2}",
                                     "emptyMsg": "No core_enum found",
-                                    "|xns": "Roo",
-                                    "items": [
-                                        {
-                                            "listeners": {
-                                                "click": "function (_self, e)\n{\n    new Pman.Download({\n        grid : _this.grid\n    });\n    Roo.MessageBox.alert(\"Downloading\", \"File is downloading\");\n}"
-                                            },
-                                            "text": "Download",
-                                            "xtype": "Button",
-                                            "|xns": "Roo.Toolbar"
-                                        }
-                                    ]
+                                    "|xns": "Roo"
                                 },
                                 {
                                     "*prop": "toolbar",
index ce2d515..08292b9 100644 (file)
@@ -178,23 +178,7 @@ Pman.Dialog.AdminCoreEnum = {
                             pageSize : 25,
                             displayInfo : true,
                             displayMsg : "Displaying core_enum{0} - {1} of {2}",
-                            emptyMsg : "No core_enum found",
-                            items : [
-                                {
-                                    xtype: 'Button',
-                                    xns: Roo.Toolbar,
-                                    listeners : {
-                                        click : function (_self, e)
-                                        {
-                                            new Pman.Download({
-                                                grid : _this.grid
-                                            });
-                                            Roo.MessageBox.alert("Downloading", "File is downloading");
-                                        }
-                                    },
-                                    text : "Download"
-                                }
-                            ]
+                            emptyMsg : "No core_enum found"
                         },
                         toolbar : {
                             xtype: 'Toolbar',