X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.VerifyAccess.js;h=0ec78ab988b3939b46a36de8e620e77d5ef601f6;hb=a9e159f5b3765d4393d0490edf6c984a4fd6ee89;hp=febcee38c1524ceaa777793ee2b45f4c73c34448;hpb=14222d019d925a9b1a75941ab4388b28998543a0;p=Pman.Core 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 : [