Pman.Tab.AdminContacts.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 10:15:29 +0000 (18:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 10:15:29 +0000 (18:15 +0800)
Pman.Tab.AdminContacts.bjs

index 3a8a204..4e69b56 100644 (file)
                             "xtype": "Toolbar",
                             "|xns": "Roo",
                             "items": [
-                                {
-                                    "listeners": {
-                                        "|click": "function()\n{\n    var s = _this.grid.getSelectionModel().getSelections();\n    if (!s.length || (s.length > 1))  {\n        Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n        return;\n    }\n  \n    _this.dialog.show(s[0].data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n    \n}\n"
-                                    },
-                                    "cls": "x-btn-text-icon",
-                                    "text": "Edit",
-                                    "xtype": "Button",
-                                    "|icon": "Roo.rootURL + 'images/default/tree/leaf.gif'",
-                                    "|xns": "Roo.Toolbar"
-                                },
                                 {
                                     "|xns": "Roo.Toolbar",
                                     "xtype": "Separator"