From 0b982f981935234193da6440adc43bfecc71f43c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 May 2012 18:10:13 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 3 +++ Pman.Dialog.CoreNotifyRecur.js | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index b82c6951..e0f25c4b 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -331,6 +331,9 @@ ] }, { + "listeners": { + "click": "function (_self, e)\n{\n _this.dialog.hide();\n}" + }, "*prop": "buttons[]", "text": "Done", "xtype": "Button", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 5be1fab8..bb51d565 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -458,6 +458,12 @@ Pman.Dialog.CoreNotifyRecur = { { xtype: 'Button', xns: Roo, + listeners : { + click : function (_self, e) + { + _this.dialog.hide(); + } + }, text : "Done" } ] -- 2.39.2