From 8960c7d9de4833fbe769421e5ca7600e5416504f Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 12:56:18 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 3 +++ Pman.Dialog.VerifyAccess.js | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 70797dd4..b934fcda 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -115,6 +115,9 @@ "$ xns" : "Roo.bootstrap", "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}" + }, "Boolean allowBlank" : false, "String name" : "expire_dt", "xtype" : "DateField", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index 7eb13627..a9e8d961 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -259,6 +259,16 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { fieldLabel : _this._strings['5a787141d53b573ec9b86e900bfe0d79'] /* Expire Date */, indicatorpos : 'right', name : 'expire_dt', + listeners : { + render : function (_self) + { + _this.expire_dt = this; + + this.el.setVisibilityMode(Roo.Element.DISPLAY); + + this.el.hide(); + } + }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' } -- 2.39.2