From 1c81bf1d2be053673216f11dd9c2df2b51e4bae9 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 11:29:52 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 3 +-- Pman.Dialog.VerifyAccess.js | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 07e1d9c1..c841e6ac 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -18,11 +18,10 @@ "items" : [ { "listeners" : { - "show" : "function (_self)\n{\n var path = window.location.pathname.split('/');\n \n var authorized_key = path.pop();\n \n var id = path.pop();\n \n new Pman.Request({\n url: baseURL + '/Core/VerifyAccess',\n method : 'POST',\n params : {\n id : id,\n authorized_key : authorized_key,\n _to_data : 1\n }, \n success : function(res) {\n _this.form.setValues(res.data);\n return;\n },\n failure: function(res) {\n \n _this.dialog.hide();\n \n Roo.bootstrap.MessageBox.alert('Error', res.errorMsg);\n \n return;\n }\n });\n}", + "show" : "function (_self)\n{\n var path = window.location.pathname.split('/');\n \n var authorized_key = path.pop();\n \n var id = path.pop();\n \n new Pman.Request({\n url: baseURL + '/Core/VerifyAccess',\n method : 'POST',\n params : {\n id : id,\n authorized_key : authorized_key,\n _to_data : 1\n }, \n success : function(res) {\n Roo.log(res);\n return;\n _this.form.setValues(res.data);\n return;\n },\n failure: function(res) {\n \n _this.dialog.hide();\n \n Roo.bootstrap.MessageBox.alert('Error', res.errorMsg);\n \n return;\n }\n });\n}", "render" : "function (_self)\n{\n _this.modal = _self;\n}" }, "String cls" : "enable-overflow", - "String size" : "sm", "Boolean allow_close" : false, "xtype" : "Modal", "$ xns" : "Roo.bootstrap", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index 63c3bbd0..afc5e118 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -45,7 +45,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { xtype : 'Modal', allow_close : false, cls : 'enable-overflow', - size : 'sm', title : _this._strings['07ae22a49223522664766d12c37a4eeb'] /* Activate Your account */, listeners : { render : function (_self) @@ -69,6 +68,8 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { _to_data : 1 }, success : function(res) { + Roo.log(res); + return; _this.form.setValues(res.data); return; }, -- 2.39.2