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

index 550d3d0..af48e1e 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-0",
+    "id": "roo-file-2",
     "name": "Pman.Tab.AdminContacts",
     "parent": "Pman.Tab.AdminContactsManager",
     "title": "Pman.Tab.AdminContacts",
                                     "|xns": "Roo.Toolbar",
                                     "xtype": "Fill"
                                 },
+                                {
+                                    "listeners": {
+                                        "|click": "function()\n{\n    \n    _this.dialog.show( { id : 0 } , function() {\n        _this.grid.footer.onClick('first');\n   }); \n}\n"
+                                    },
+                                    "cls": "x-btn-text-icon",
+                                    "text": "Add",
+                                    "xtype": "Button",
+                                    "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
+                                    "|xns": "Roo.Toolbar"
+                                },
                                 {
                                     "listeners": {
                                         "toggle": "function (_self, pressed)\n{\n   _this.grid.footer.onClick('first');\n   this.setText(pressed ? \"Show Active\" : \"Show Removed\");\n   \n   \n}",