2 "name" : "Pman.Dialog.VerifyAccess",
5 "path" : "/home/edward/gitlive/Pman.Core/Pman.Dialog.VerifyAccess.bjs",
9 "e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access",
10 "d41d8cd98f00b204e9800998ecf8427e" : "",
11 "b945ed1d61d8edbe16a1192ad6d2fd58" : "Please enter a memorable password for logging into your application",
12 "ee7ad62ad69b9ab5f25d273e4e0a1736" : "Your Username",
13 "51eea3dc60ae3a0b1bb8188bc6337dc2" : "enter password",
14 "1849ffc8731b5e74ae6157c91ba73575" : "Please confirm your password",
15 "d71940f24ee38ee09f6e06b908480bcf" : "Resend email",
16 "14cf5e829f5cb6fbf8cb54f7c5ff4ca9" : "Start the application process "
21 "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 mask : 'Loading...',\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}"
23 "String cls" : "enable-overflow",
24 "Boolean allow_close" : false,
26 "$ xns" : "Roo.bootstrap",
27 "String title" : "Verify New IP Access",
31 "actionfailed" : "function (_self, action)\n{\n _this.dialog.el.unmask();\n Roo.log(\"action failed\");\n Roo.log(action);\n \n if(!action.result.errorMsg){\n Roo.bootstrap.MessageBox.alert(\"Error\", \"Please contact system adminisrator\");\n }\n \n var msg = action.result.errorMsg;\n \n if(msg.length >= 200){\n msg = msg.substring(0,199) + '...'\n }\n \n Roo.bootstrap.MessageBox.alert(\"Error\", msg);\n}",
32 "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n _this.form.findField('password').focus();\n \n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n Roo.get(document.body).mask('Start your Application');\n \n setTimeout(function() {\n window.location.href = baseURL;\n }, 500); \n \n return;\n }\n \n}",
33 "render" : "function (_self,e)\n{\n _this.form = _self;\n \n}"
35 "$ string url" : "baseURL + '/Register/Confirm'",
36 "Boolean errorMask" : true,
38 "$ xns" : "Roo.bootstrap",
39 "Boolean loadMask" : false,
43 "$ xns" : "Roo.bootstrap",
48 "$ xns" : "Roo.bootstrap",
51 "String name" : "email",
52 "Boolean readOnly" : true,
54 "string fieldLabel" : "Your Username",
55 "String labelAlign" : "top",
56 "$ xns" : "Roo.bootstrap"
64 "render" : "function (_self)\n{\n _this.row_pwd_label = _self;\n}"
67 "$ xns" : "Roo.bootstrap",
72 "$ xns" : "Roo.bootstrap",
75 "xtype" : "FieldLabel",
76 "$ xns" : "Roo.bootstrap",
77 "String html" : "Please enter a memorable password for logging into your application"
85 "render" : "function (_self)\n{\n _this.row_pwd1 = _self;\n}"
88 "$ xns" : "Roo.bootstrap",
93 "$ xns" : "Roo.bootstrap",
96 "Boolean allowBlank" : false,
97 "String name" : "password",
98 "xtype" : "SecurePass",
99 "String labelAlign" : "top",
100 "string placeholder" : "enter password",
101 "String inputType" : "password",
102 "$ xns" : "Roo.bootstrap"
110 "render" : "function (_self)\n{\n _this.row_pwd2 = _self;\n}"
113 "$ xns" : "Roo.bootstrap",
118 "$ xns" : "Roo.bootstrap",
121 "Boolean allowBlank" : false,
122 "string invalidText" : "The passwords you entered do not match",
123 "String name" : "password1",
125 "string placeholder" : "Please confirm your password",
126 "String inputType" : "password",
127 "$ xns" : "Roo.bootstrap",
128 "$ Function validator" : "function(v){\n \n if(_this.form.findField('password').getValue() == v) {\n \n return true;\n }\n \n return false;\n}"
136 "$ xns" : "Roo.bootstrap",
141 "$ xns" : "Roo.bootstrap",
144 "String name" : "id",
146 "String inputType" : "hidden",
147 "$ xns" : "Roo.bootstrap"
150 "String name" : "verify_key",
152 "String inputType" : "hidden",
153 "$ xns" : "Roo.bootstrap"
163 "render" : "function (_self)\n{\n _this.error_row = this;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}"
166 "$ xns" : "Roo.bootstrap",
171 "$ xns" : "Roo.bootstrap",
175 "render" : "function (_self)\n{\n _this.text_el = _self;\n}"
178 "$ xns" : "Roo.bootstrap",
187 "render" : "function (_self)\n{\n _this.btn_ok = _self;\n}",
188 "click" : "function (_self, e)\n{\n if(!_this.form.isValid()){\n return;\n }\n \n var p1 = _this.form.findField('password').getValue();\n var p2 = _this.form.findField('password1').getValue();\n \n if (p1 != p2) {\n _this.form.findField('password1').markInvalid('Password do not match');\n return;\n }\n \n _this.dialog.el.mask('Sending...');\n _this.form.doAction('submit');\n \n}"
190 "String weight" : "primary",
192 "$ xns" : "Roo.bootstrap",
193 "String html" : "Start the application process ",
194 "* prop" : "buttons[]"
198 "render" : "function (_self)\n{\n _this.btn_resend = _self;\n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n this.el.hide();\n}",
199 "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 \"<br/><br/>\" + \n \"Please check your inbox for the final registration step.\" + \n \"<br/><br/>\" + \n \"<B>(Note. emails may accidentally be sent to your Spam Folder)</B>\";\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}"
201 "String weight" : "primary",
203 "$ xns" : "Roo.bootstrap",
204 "String html" : "Resend email",
205 "* prop" : "buttons[]"