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 "f6039d44b29456b20f8f373155ae4973" : "Username",
12 "dfb790522fdea3859af206d32916fe77" : "User Agent",
13 "d71940f24ee38ee09f6e06b908480bcf" : "Resend email",
14 "14cf5e829f5cb6fbf8cb54f7c5ff4ca9" : "Start the application process "
19 "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 _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}"
21 "String cls" : "enable-overflow",
22 "Boolean allow_close" : false,
24 "$ xns" : "Roo.bootstrap",
25 "String title" : "Verify New IP Access",
29 "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}",
30 "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\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}",
31 "render" : "function (_self,e)\n{\n _this.form = _self;\n \n}"
33 "$ string url" : "baseURL + '/Core/VerifyAccess'",
34 "Boolean errorMask" : true,
36 "String labelAlign" : "top",
37 "$ xns" : "Roo.bootstrap",
38 "Boolean loadMask" : false,
42 "$ xns" : "Roo.bootstrap",
47 "$ xns" : "Roo.bootstrap",
50 "String name" : "email",
51 "Boolean readOnly" : true,
53 "string fieldLabel" : "Username",
54 "$ xns" : "Roo.bootstrap"
62 "render" : "function (_self)\n{\n _this.row_pwd_label = _self;\n}"
65 "$ xns" : "Roo.bootstrap",
70 "$ xns" : "Roo.bootstrap",
73 "String name" : "user_agent",
74 "Boolean readOnly" : true,
76 "string fieldLabel" : "User Agent",
78 "$ xns" : "Roo.bootstrap"
86 "$ xns" : "Roo.bootstrap",
91 "$ xns" : "Roo.bootstrap",
96 "String inputType" : "hidden",
97 "$ xns" : "Roo.bootstrap"
100 "String name" : "authorized_key",
102 "String inputType" : "hidden",
103 "$ xns" : "Roo.bootstrap"
111 "$ xns" : "Roo.bootstrap",
116 "$ xns" : "Roo.bootstrap",
119 "String name" : "id",
121 "String inputType" : "hidden",
122 "$ xns" : "Roo.bootstrap"
125 "String name" : "authorized_key",
127 "String inputType" : "hidden",
128 "$ xns" : "Roo.bootstrap"
138 "render" : "function (_self)\n{\n _this.error_row = this;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}"
141 "$ xns" : "Roo.bootstrap",
146 "$ xns" : "Roo.bootstrap",
150 "render" : "function (_self)\n{\n _this.text_el = _self;\n}"
153 "$ xns" : "Roo.bootstrap",
162 "render" : "function (_self)\n{\n _this.btn_ok = _self;\n}",
163 "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}"
165 "String weight" : "primary",
167 "$ xns" : "Roo.bootstrap",
168 "String html" : "Start the application process ",
169 "* prop" : "buttons[]"
173 "render" : "function (_self)\n{\n _this.btn_resend = _self;\n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n this.el.hide();\n}",
174 "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}"
176 "String weight" : "primary",
178 "$ xns" : "Roo.bootstrap",
179 "String html" : "Resend email",
180 "* prop" : "buttons[]"