From 7dae28e6434baaf9052ea120d2bc001629221523 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 3 Mar 2014 16:52:52 +0800 Subject: [PATCH] Pman.Dialog.CoreEnum.bjs Pman.Dialog.CoreEnum.js --- Pman.Dialog.CoreEnum.bjs | 8 ++++---- Pman.Dialog.CoreEnum.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Pman.Dialog.CoreEnum.bjs b/Pman.Dialog.CoreEnum.bjs index 523e6c97..2f6e1345 100644 --- a/Pman.Dialog.CoreEnum.bjs +++ b/Pman.Dialog.CoreEnum.bjs @@ -71,13 +71,13 @@ ] }, { - "text": "Cancel", - "xtype": "Button", - "|xns": "Roo", "listeners": { "|click": "function() {\n _this.form.reset();\n _this.dialog.hide();\n}" }, - "*prop": "buttons[]" + "*prop": "buttons[]", + "text": "Cancel", + "xtype": "Button", + "|xns": "Roo" }, { "listeners": { diff --git a/Pman.Dialog.CoreEnum.js b/Pman.Dialog.CoreEnum.js index c4080b4b..418fba96 100644 --- a/Pman.Dialog.CoreEnum.js +++ b/Pman.Dialog.CoreEnum.js @@ -124,13 +124,13 @@ Pman.Dialog.CoreEnum = { { xtype: 'Button', xns: Roo, - text : "Cancel", listeners : { click : function() { _this.form.reset(); _this.dialog.hide(); } - } + }, + text : "Cancel" }, { xtype: 'Button', -- 2.39.2