X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.VerifyAccess.bjs;h=a5c9d5f1653d1a2a249c512e93d097d87e646c9e;hb=ef20d0e0fea44ac466ecff76a219b58b0579e853;hp=41ed2c7e8636bd82bf9b29fea4ed483ef134fd6e;hpb=b0b721c6276ccdbe7c69368eb6af0555392d8b8c;p=Pman.Core diff --git a/Pman.Dialog.VerifyAccess.bjs b/Pman.Dialog.VerifyAccess.bjs index 41ed2c7e..a5c9d5f1 100644 --- a/Pman.Dialog.VerifyAccess.bjs +++ b/Pman.Dialog.VerifyAccess.bjs @@ -18,7 +18,7 @@ "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 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 });\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 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 return;\n }\n });\n}", "render" : "function (_self)\n{\n _this.modal = _self;\n}" }, "String cls" : "enable-overflow",