From: edward Date: Thu, 15 Feb 2018 04:58:33 +0000 (+0800) Subject: Pman.Dialog.VerifyAccess.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0635b2c294c0a50d238c0658ccac8adfff336f27 Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- 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');