DataObjects/Core_setting.php
[Pman.Core] / Pman.Tab.PersonList.js
index 28efd55..22b5f9f 100644 (file)
@@ -132,8 +132,6 @@ Pman.Tab.PersonList.prototype = {
     
     add : function(parentLayout, region) {
         
-        Roo.log('PersonList add called!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
-        
         var _this = this;
         if (this.tab) {
             parentLayout.getRegion(region).showPanel(this.panel);
@@ -190,10 +188,10 @@ Pman.Tab.PersonList.prototype = {
                 ds:   new Roo.data.Store({
                     // load using HTTP
                     proxy: new Roo.data.HttpProxy({
-                        url: baseURL + '/Roo/Person.html',
+                        url: baseURL + '/Roo/core_person',
                         method: 'GET'
                     }),
-                    reader: Pman.Readers.Person,
+                    reader: new Roo.data.JsonReader({}, []),
                     remoteSort: true,
                     listeners : {
                         
@@ -213,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,
@@ -426,7 +424,7 @@ Pman.Tab.PersonList.prototype = {
 
                     
                     Roo.Ajax.request({
-                        url: baseURL + '/Roo/Person.html',
+                        url: baseURL + '/Roo/core_person',
                         method: 'GET',
                         params: {
                             _toggleActive : r.join(',')