From: Alan Knowles Date: Tue, 28 Mar 2017 08:46:46 +0000 (+0800) Subject: Pman.Dialog.CorePersonContact.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=72dcb7bf971028357b22a1455e2630e102ccd412 Pman.Dialog.CorePersonContact.bjs Pman.Dialog.CorePersonContact.js Pman.Dialog.CoreProject.bjs Pman.Dialog.CoreProject.js Pman.Tab.PersonList.js --- diff --git a/Pman.Dialog.CorePersonContact.bjs b/Pman.Dialog.CorePersonContact.bjs index 29362a79..fc08c37b 100644 --- a/Pman.Dialog.CorePersonContact.bjs +++ b/Pman.Dialog.CorePersonContact.bjs @@ -46,7 +46,7 @@ "|actioncomplete" : "function(_self,action)\n{\n if (action.type == 'setdata') {\n //_this.dialog.el.mask(\"Loading\");\n //this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.el.unmask();\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/Person.php'", + "$ url" : "baseURL + '/Roo/core_person'", "xtype" : "Form", "method" : "POST", "style" : "margin:10px;", diff --git a/Pman.Dialog.CorePersonContact.js b/Pman.Dialog.CorePersonContact.js index 2084c10c..1bd6e465 100644 --- a/Pman.Dialog.CorePersonContact.js +++ b/Pman.Dialog.CorePersonContact.js @@ -102,7 +102,7 @@ Pman.Dialog.CorePersonContact = { xtype : 'Form', method : 'POST', style : 'margin:10px;', - url : baseURL + '/Roo/Person.php', + url : baseURL + '/Roo/core_person', listeners : { actioncomplete : function(_self,action) { diff --git a/Pman.Dialog.CoreProject.bjs b/Pman.Dialog.CoreProject.bjs index 78b7c63a..9905fd50 100644 --- a/Pman.Dialog.CoreProject.bjs +++ b/Pman.Dialog.CoreProject.bjs @@ -282,7 +282,7 @@ "* prop" : "store", "items" : [ { - "$ url" : "baseURL + '/Roo/Person.php'", + "$ url" : "baseURL + '/Roo/core_person'", "method" : "GET", "xtype" : "HttpProxy", "$ xns" : "Roo.data", diff --git a/Pman.Dialog.CoreProject.js b/Pman.Dialog.CoreProject.js index f2519904..e3b155c2 100644 --- a/Pman.Dialog.CoreProject.js +++ b/Pman.Dialog.CoreProject.js @@ -389,7 +389,7 @@ Pman.Dialog.CoreProject = { proxy : { xtype : 'HttpProxy', method : 'GET', - url : baseURL + '/Roo/Person.php', + url : baseURL + '/Roo/core_person', xns : Roo.data, '|xns' : 'Roo.data' }, diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 6e6b8c8e..62d05fa7 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -211,7 +211,7 @@ Pman.Tab.PersonList.prototype = { // only used to change active status. new Pman.Request({ - url : baseURL + '/Roo/Person.php', + url : baseURL + '/Roo/core_person', method :'POST', params : { id : record.data.id,