From: Edward Date: Wed, 11 Feb 2015 06:25:43 +0000 (+0800) Subject: Pman.Tab.AdminNotify.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=9f33b2695948c4f7187eede7dd327877a44dd37e Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index 085d6f9..af72d68 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -158,7 +158,7 @@ }, { "listeners" : { - "render" : "function (_self)\r\n{\r\n _this.fromDateSel = _self;\r\n _self.setValue( new Date() );\r\n}", + "render" : "function (_self)\r\n{\r\n _this.toDateSel = _self;\r\n _self.setValue( new Date() );\r\n}", "select" : "function (combo, date)\n{\n _this.grid.footer.onClick('first');\n}" }, "format" : "d/M/Y", diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index a718d93..bac1b91 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -347,7 +347,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ listeners : { render : function (_self) { - _this.fromDateSel = _self; + _this.toDateSel = _self; _self.setValue( new Date() ); }, select : function (combo, date)