From: Alan Knowles Date: Wed, 16 May 2012 10:10:13 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0b982f981935234193da6440adc43bfecc71f43c Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- 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" } ]