Pman.Dialog.CoreCompanies.bjs
authorChris <chris@roojs.com>
Wed, 12 Sep 2012 06:44:41 +0000 (14:44 +0800)
committerChris <chris@roojs.com>
Wed, 12 Sep 2012 06:44:41 +0000 (14:44 +0800)
Pman.Dialog.CoreCompanies.js

Pman.Dialog.CoreCompanies.bjs
Pman.Dialog.CoreCompanies.js

index 12d0439..0be8ef9 100644 (file)
                     ]
                 },
                 {
+                    "listeners": {
+                        "click": "function (_self, e)\n{\n    _this.dialog.hide();\n}"
+                    },
                     "*prop": "buttons[]",
                     "text": "Cancel",
                     "xtype": "Button",
index 53ed815..90c7538 100644 (file)
@@ -277,6 +277,12 @@ Pman.Dialog.CoreCompanies = {
                 {
                     xtype: 'Button',
                     xns: Roo,
+                    listeners : {
+                        click : function (_self, e)
+                        {
+                            _this.dialog.hide();
+                        }
+                    },
                     text : "Cancel"
                 },
                 {