Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 04:56:51 +0000 (12:56 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 04:56:51 +0000 (12:56 +0800)
Pman.Dialog.VerifyAccess.js

Pman.Dialog.VerifyAccess.bjs
Pman.Dialog.VerifyAccess.js

index b934fcd..710bb80 100644 (file)
          "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",
index a9e8d96..a60686d 100644 (file)
@@ -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,