"modOrder" : "001",
"strings" : {
"e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access",
- "d41d8cd98f00b204e9800998ecf8427e" : "",
"a12a3079e14ced46e69ba52b8a90b21a" : "IP",
"f6039d44b29456b20f8f373155ae4973" : "Username",
"004bf6c9a40003140292e97330236c53" : "Action",
"items" : [
{
"listeners" : {
- "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 \n _this.data = res.data;\n \n if(_this.data.status != 0){\n _this.dialog.hide();\n Roo.bootstrap.MessageBox.alert('Notice', 'This IP has been verified [' + _this.data.ip + ']');\n return;\n }\n \n _this.form.setValues(_this.data);\n \n if(_this.data.status * 1 == 0){\n _this.form.findField('status').reset();\n }\n \n _this.form.clearInvalid();\n \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}"
+ "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 \n _this.data = res.data;\n \n if(_this.data.status != 0){\n _this.dialog.hide();\n Roo.bootstrap.MessageBox.alert('Notice', 'This IP has been verified [' + _this.data.ip + ']');\n return;\n }\n \n _this.form.setValues(_this.data);\n \n if(_this.data.status * 1 == 0){\n _this.form.findField('status').reset();\n }\n \n _this.form.findField('expire_dt').reset();\n \n _this.form.clearInvalid();\n \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}"
},
"String cls" : "enable-overflow",
"Boolean allow_close" : false,
}
]
},
- {
- "listeners" : {
- "render" : "function (_self)\n{\n _this.error_row = this;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}"
- },
- "xtype" : "Row",
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "xtype" : "Column",
- "Number xs" : 12,
- "$ xns" : "Roo.bootstrap",
- "items" : [
- {
- "listeners" : {
- "render" : "function (_self)\n{\n _this.text_el = _self;\n}"
- },
- "xtype" : "Element",
- "$ xns" : "Roo.bootstrap",
- "String html" : ""
- }
- ]
- }
- ]
- },
{
"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}"