From 0635b2c294c0a50d238c0658ccac8adfff336f27 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 12:58:33 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 2 +- Pman.Dialog.VerifyAccess.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 5431e44f..b566aec1 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -182,7 +182,7 @@ }, { "listeners" : { - "click" : "function (_self, e)\n{\n if(!_this.form.isValid()){\n return;\n }\n \n _this.dialog.el.mask('Sending...');\n _this.form.doAction('submit');\n \n}" + "click" : "function (_self, e)\n{\n if(!_this.form.isValid()){\n return;\n }\n Roo.log('submit');\n return;\n _this.dialog.el.mask('Sending...');\n _this.form.doAction('submit');\n \n}" }, "String weight" : "primary", "xtype" : "Button", diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index b55492a9..d24ed4eb 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -101,7 +101,8 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { if(!_this.form.isValid()){ return; } - + Roo.log('submit'); + return; _this.dialog.el.mask('Sending...'); _this.form.doAction('submit'); -- 2.39.2