X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.VerifyAccess.bjs;h=e1c3c5be351e4465c1d11ae21a16e2aa9c448798;hb=ed7bfd139781c2ba306217f123ec65c36f1e1f27;hp=02489aec94c4e2cec3e7776145690d3c57a01842;hpb=11b15fbd9e47063c69140ecb0c27d2cb2243fa96;p=Pman.Core diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 02489aec..e1c3c5be 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -29,7 +29,7 @@ { "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 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.id + ']');\n \n return;\n }\n \n}", + "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.bootstrap.MessageBox.alert('Notice', 'You have verified the IP [' + _this.data.ip + ']');\n \n return;\n }\n \n}", "render" : "function (_self,e)\n{\n _this.form = _self;\n \n}" }, "$ string url" : "baseURL + '/Core/VerifyAccess'",