"modOrder" : "001",
"strings" : {
"e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access",
- "d41d8cd98f00b204e9800998ecf8427e" : "",
"a12a3079e14ced46e69ba52b8a90b21a" : "IP",
+ "ea4788705e6873b424c65e91c2846b19" : "Cancel",
"f6039d44b29456b20f8f373155ae4973" : "Username",
"004bf6c9a40003140292e97330236c53" : "Action",
"5a787141d53b573ec9b86e900bfe0d79" : "Expire Date",
"items" : [
{
"String cls" : "enable-overflow",
- "Boolean allow_close" : false,
+ "Boolean allow_close" : true,
"xtype" : "Modal",
"$ xns" : "Roo.bootstrap",
"String title" : "Verify New IP Access",
{
"listeners" : {
"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}",
- "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n if(_this.data.id) {\n this.doAction('load',{ method: 'GET', params: { '_id' : _this.data.id }});\n } \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.bootstrap.MessageBox.alert('Notice', 'You have verified the IP [' + _this.data.ip + ']');\n \n return;\n }\n \n}",
+ "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n if(_this.data.id) {\n this.doAction('load',{ method: 'GET', params: { '_id' : _this.data.id }});\n } \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 if (_this.callback) {\n _this.callback.call(this, action.result.data);\n }\n \n return;\n }\n \n}",
"render" : "function (_self,e)\n{\n _this.form = _self;\n \n}"
},
- "$ string url" : "baseURL + '/Core/VerifyAccess'",
+ "$ string url" : "baseURL + '/Roo/core_ip_access'",
"Boolean errorMask" : true,
"xtype" : "Form",
"String labelAlign" : "top",
"$ xns" : "Roo.bootstrap",
- "Boolean loadMask" : false,
+ "Boolean loadMask" : true,
"items" : [
{
"xtype" : "Row",
},
{
"listeners" : {
- "render" : "function (_self)\n{\n _this.error_row = this;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}"
+ "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
},
- "xtype" : "Row",
+ "String weight" : "default",
+ "xtype" : "Button",
"$ 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" : ""
- }
- ]
- }
- ]
+ "String html" : "Cancel",
+ "* prop" : "buttons[]"
},
{
"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}"
+ "click" : "function (_self, e)\n{\n _this.form.doAction('submit');\n \n}"
},
"String weight" : "primary",
"xtype" : "Button",