From 36a6ecc2694c0844b9a3dd5fc4c8c31014051054 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 12:56:51 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 2 +- Pman.Dialog.VerifyAccess.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index b934fcda..710bb80f 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 this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}" + "render" : "function (_self)\n{\n _this.expire_dt = this;\n \n this.setStartDate(new Date());\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 a9e8d961..a60686d2 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -264,9 +264,11 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { { _this.expire_dt = this; + this.setStartDate(new Date()); + this.el.setVisibilityMode(Roo.Element.DISPLAY); - this.el.hide(); + //this.el.hide(); } }, xns : Roo.bootstrap, -- 2.39.2