From a791fc6e8c3f4c46d65085748c25802c1e23ec4a Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 11:48:41 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 4 ++-- Pman.Dialog.VerifyAccess.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 74d6e92b..358b1a01 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -32,7 +32,7 @@ "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n _this.form.findField('password').focus();\n \n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n Roo.get(document.body).mask('Start your Application');\n \n setTimeout(function() {\n window.location.href = baseURL;\n }, 500); \n \n return;\n }\n \n}", "render" : "function (_self,e)\n{\n _this.form = _self;\n \n}" }, - "$ string url" : "baseURL + '/Register/Confirm'", + "$ string url" : "baseURL + '/Core/VerifyAccess'", "Boolean errorMask" : true, "xtype" : "Form", "$ xns" : "Roo.bootstrap", @@ -147,7 +147,7 @@ "$ xns" : "Roo.bootstrap" }, { - "String name" : "verify_key", + "String name" : "authorized_key", "xtype" : "Input", "String inputType" : "hidden", "$ xns" : "Roo.bootstrap" diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index 566e887f..288215ba 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -165,7 +165,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { xtype : 'Form', errorMask : true, loadMask : false, - url : baseURL + '/Register/Confirm', + url : baseURL + '/Core/VerifyAccess', listeners : { actioncomplete : function (_self, action) { @@ -363,7 +363,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { { xtype : 'Input', inputType : 'hidden', - name : 'verify_key', + name : 'authorized_key', xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' } -- 2.39.2