Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 05:02:07 +0000 (13:02 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 05:02:07 +0000 (13:02 +0800)
Pman.Dialog.VerifyAccess.js

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

index 6e6ca81..848d7a6 100644 (file)
          "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",
index dec074e..22c61f5 100644 (file)
@@ -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);