X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.VerifyAccess.js;fp=Pman.Dialog.VerifyAccess.js;h=ef4056ac5a83ea35ffb75689f02c5f388d994446;hb=07f8e4fcf72a793478c7ab1c8155236835c3b2cc;hp=d24ed4eb5d6b6cf4f78f9e2146b058feae207d91;hpb=0635b2c294c0a50d238c0658ccac8adfff336f27;p=Pman.Core diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index d24ed4eb..ef4056ac 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -271,7 +271,10 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { { _this.expire_dt = this; - this.setStartDate(new Date()); + var d = new Date(); + d.setDate(d.getDate() - 1); + + this.setStartDate(d); this.el.setVisibilityMode(Roo.Element.DISPLAY);