Pman.Dialog.AdminEventLog.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 11 Feb 2014 04:16:40 +0000 (12:16 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 11 Feb 2014 04:16:40 +0000 (12:16 +0800)
Pman.Dialog.AdminEventLog.js

Pman.Dialog.AdminEventLog.bjs
Pman.Dialog.AdminEventLog.js

index 5d5e4b4..1559b08 100644 (file)
                                     "xtype": "Toolbar",
                                     "|xns": "Roo",
                                     "items": [
-                                        {
-                                            "text": "Add",
-                                            "xtype": "Button",
-                                            "cls": "x-btn-text-icon",
-                                            "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
-                                            "listeners": {
-                                                "|click": "function()\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( { id : 0 } , function() {\n        _this.grid.footer.onClick('first');\n   }); \n}\n"
-                                            },
-                                            "|xns": "Roo.Toolbar"
-                                        },
                                         {
                                             "text": "Edit",
                                             "xtype": "Button",
                                         }
                                     ]
                                 },
-                                {
-                                    "xtype": "ColumnModel",
-                                    "header": "Id",
-                                    "width": 75,
-                                    "dataIndex": "id",
-                                    "|renderer": "function(v) { return String.format('{0}', v); }",
-                                    "|xns": "Roo.grid",
-                                    "*prop": "colModel[]"
-                                },
                                 {
                                     "xtype": "ColumnModel",
                                     "header": "Person name",
index a90adec..3584eef 100644 (file)
@@ -226,22 +226,6 @@ Pman.Dialog.AdminEventLog = {
                             xtype: 'Toolbar',
                             xns: Roo,
                             items : [
-                                {
-                                    xtype: 'Button',
-                                    xns: Roo.Toolbar,
-                                    text : "Add",
-                                    cls : 'x-btn-text-icon',
-                                    icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
-                                    listeners : {
-                                        click : function()
-                                        {
-                                            if (!_this.dialog) return;
-                                            _this.dialog.show( { id : 0 } , function() {
-                                                _this.grid.footer.onClick('first');
-                                           }); 
-                                        }
-                                    }
-                                },
                                 {
                                     xtype: 'Button',
                                     xns: Roo.Toolbar,
@@ -280,14 +264,6 @@ Pman.Dialog.AdminEventLog = {
                             ]
                         },
                         colModel : [
-                            {
-                                xtype: 'ColumnModel',
-                                xns: Roo.grid,
-                                header : 'Id',
-                                width : 75,
-                                dataIndex : 'id',
-                                renderer : function(v) { return String.format('{0}', v); }
-                            },
                             {
                                 xtype: 'ColumnModel',
                                 xns: Roo.grid,