X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreProject.bjs;h=118820e65a2a25768384afdfac80cad8b16244fb;hp=5bc2069945c330bce9ca368217cc0d9198755705;hb=443623f47935eb52acd65a3ff0d84eab1fd5a98b;hpb=6172f6004eac181317b70b3433b204740ab62a04 diff --git a/Pman.Dialog.CoreProject.bjs b/Pman.Dialog.CoreProject.bjs index 5bc20699..118820e6 100644 --- a/Pman.Dialog.CoreProject.bjs +++ b/Pman.Dialog.CoreProject.bjs @@ -53,6 +53,7 @@ }, "items" : [ { + "Boolean modal" : true, "collapsible" : false, "xtype" : "LayoutDialog", "title" : "Edit / Create Projects", @@ -77,7 +78,7 @@ "|actioncomplete" : "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n if (_this.data.id) {\n this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n }\n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n}\n", "|rendered" : "function (form)\n{\n _this.form= form;\n}\n" }, - "$ url" : "baseURL + '/Roo/Projects.php'", + "$ url" : "baseURL + '/Roo/core_project'", "method" : "POST", "xtype" : "Form", "style" : "margin:10px;",