From 5ce5512507798added918d26fd5c16ba2dc4a9d6 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 13:02:07 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 2 +- Pman.Dialog.VerifyAccess.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 6e6ca814..848d7a62 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -116,7 +116,7 @@ "items" : [ { "listeners" : { - "render" : "function (_self)\n{\n _this.expire_dt = this;\n \n var d = new Date();\n d.setDate(d.getDate() - 1);\n\n this.setStartDate(d);\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}" + "render" : "function (_self)\n{\n _this.expire_dt = this;\n \n var d = new Date();\n \n d.setDate(d.getDate() - 1);\n\n this.setStartDate(d);\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}" }, "Boolean allowBlank" : false, "String name" : "expire_dt", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index dec074e1..22c61f58 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -273,6 +273,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { _this.expire_dt = this; var d = new Date(); + d.setDate(d.getDate() - 1); this.setStartDate(d); -- 2.39.2