From a9e159f5b3765d4393d0490edf6c984a4fd6ee89 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 15 Feb 2018 12:08:03 +0800 Subject: [PATCH] Pman.Dialog.VerifyAccess.bjs Pman.Dialog.VerifyAccess.js --- Pman.Dialog.VerifyAccess.bjs | 12 ---------- Pman.Dialog.VerifyAccess.js | 45 ------------------------------------ 2 files changed, 57 deletions(-) diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 067eda90..f5f006dc 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -6,7 +6,6 @@ "permname" : "", "modOrder" : "001", "strings" : { - "294176b7ee742a4fcfe2085448e6f138" : "Cacel", "e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access", "d41d8cd98f00b204e9800998ecf8427e" : "", "f6039d44b29456b20f8f373155ae4973" : "Username", @@ -178,17 +177,6 @@ "$ xns" : "Roo.bootstrap", "String html" : "Confirm", "* prop" : "buttons[]" - }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.btn_resend = _self;\n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n this.el.hide();\n}", - "click" : "function (_self, e)\n{\n var path = window.location.pathname.split('/');\n \n var verify_key = path.pop();\n \n var id = path.pop();\n \n new Pman.Request({\n url: baseURL + '/Roo/Coba_application_signup',\n method : 'POST',\n mask : 'Sending...',\n params : {\n _resend : id\n }, \n success : function(res) {\n var msg = \"We have re-sent you an invitation via email.\" +\n \"

\" + \n \"Please check your inbox for the final registration step.\" + \n \"

\" + \n \"(Note. emails may accidentally be sent to your Spam Folder)\";\n \n Roo.bootstrap.MessageBox.alert('Please check your email', msg) ;\n },\n failure: function(res) {\n Roo.bootstrap.MessageBox.alert('Error', res.errorMsg) ;\n }\n });\n}" - }, - "String weight" : "primary", - "xtype" : "Button", - "$ xns" : "Roo.bootstrap", - "String html" : "Cacel", - "* prop" : "buttons[]" } ] } diff --git a/Pman.Dialog.VerifyAccess.js b/Pman.Dialog.VerifyAccess.js index febcee38..0ec78ab9 100644 --- a/Pman.Dialog.VerifyAccess.js +++ b/Pman.Dialog.VerifyAccess.js @@ -8,7 +8,6 @@ Pman.Dialog.VerifyAccess= function() {} Roo.apply(Pman.Dialog.VerifyAccess.prototype, { _strings : { - '294176b7ee742a4fcfe2085448e6f138' :"Cacel", 'e2c9d024b79dfb48b42a7807206c6aed' :"Verify New IP Access", 'd41d8cd98f00b204e9800998ecf8427e' :"", 'f6039d44b29456b20f8f373155ae4973' :"Username", @@ -103,50 +102,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, { }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' - }, - { - xtype : 'Button', - html : _this._strings['294176b7ee742a4fcfe2085448e6f138'] /* Cacel */, - weight : 'primary', - listeners : { - click : function (_self, e) - { - var path = window.location.pathname.split('/'); - - var verify_key = path.pop(); - - var id = path.pop(); - - new Pman.Request({ - url: baseURL + '/Roo/Coba_application_signup', - method : 'POST', - mask : 'Sending...', - params : { - _resend : id - }, - success : function(res) { - var msg = "We have re-sent you an invitation via email." + - "

" + - "Please check your inbox for the final registration step." + - "

" + - "(Note. emails may accidentally be sent to your Spam Folder)"; - - Roo.bootstrap.MessageBox.alert('Please check your email', msg) ; - }, - failure: function(res) { - Roo.bootstrap.MessageBox.alert('Error', res.errorMsg) ; - } - }); - }, - render : function (_self) - { - _this.btn_resend = _self; - this.el.setVisibilityMode(Roo.Element.DISPLAY); - this.el.hide(); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap' } ], items : [ -- 2.39.2