{
"listeners" : {
"actionfailed" : "function (_self, action)\n{\n if (action.type =='submit') {\n \n _this.submit_button.changeStatus('loaded');\n \n if (_this.callback) {\n _this.callback.call(_this, action.result);\n }\n }\n}",
- "actioncomplete" : "function (_self, action)\n{\n if(action.type == 'setdata'){\n \n _this.form.findField('_enable_oath_key').setChecked(false, true);\n \n new Pman.Request({\n url : baseURL + '/Login.php',\n method : 'POST',\n params : {\n getAuthUser: true\n }, \n success : function(res) {\n \n if(res.data.oath_key_enable) {\n _this.form.findField('_enable_oath_key').setChecked(true, true);\n }\n \n _this.form.clearInvalid();\n }\n });\n }\n \n if (action.type == 'load') {\n \n Roo.log('invalid usage');\n }\n \n if (action.type =='submit') {\n \n if (_this.callback) {\n _this.callback.call(_this, action.result);\n }\n \n _this.form.reset();\n \n _this.submit_button.changeStatus('loaded');\n \n _this.dialog.hide({});\n \n return;\n }\n}",
+ "actioncomplete" : "function (_self, action)\n{\n if(action.type == 'setdata'){\n \n _this.form.findField('_enable_oath_key').setChecked(false,true);\n \n new Pman.Request({\n url : baseURL + '/Login.php',\n method : 'POST',\n params : {\n getAuthUser: true\n }, \n success : function(res) {\n \n if(res.data.oath_key_enable) {\n _this.form.findField('_enable_oath_key').setChecked(true,true);\n }\n \n _this.form.clearInvalid();\n }\n });\n }\n \n if (action.type == 'load') {\n \n Roo.log('invalid usage');\n }\n \n if (action.type =='submit') {\n \n if (_this.callback) {\n _this.callback.call(_this, action.result);\n }\n \n _this.form.reset();\n \n _this.submit_button.changeStatus('loaded');\n \n _this.dialog.hide({});\n \n return;\n }\n}",
"render" : "function (_self)\n{\n _this.form = _self;\n}"
},
"$ url" : "baseURL+'/Login'",
{
if(action.type == 'setdata'){
- _this.form.findField('_enable_oath_key').setChecked(false, true);
+ _this.form.findField('_enable_oath_key').setChecked(false,true);
new Pman.Request({
url : baseURL + '/Login.php',
success : function(res) {
if(res.data.oath_key_enable) {
- _this.form.findField('_enable_oath_key').setChecked(true, true);
+ _this.form.findField('_enable_oath_key').setChecked(true,true);
}
_this.form.clearInvalid();