DataObjects/Core_watch.php
[Pman.Core] / Pman.Tab.CoreEmail.js
index 6498064..ba47d46 100644 (file)
@@ -56,7 +56,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                 {
                                     if (!_this.dialog) return;
                                     var data = this.getDataSource().getAt(rowIndex).data;
-                                    _this.dialog.show( {id : data.id, module : 'core'} , function() {
+                                    _this.dialog.show( {id : data.id, module : 'core_email'} , function() {
                                         _this.grid.footer.onClick('first');
                                     }); 
                                 },
@@ -95,7 +95,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                     xtype: 'HttpProxy',
                                     xns: Roo.data,
                                     method : 'GET',
-                                    url : baseURL + '/Roo/Core_mailing_list_message.php'
+                                    url : baseURL + '/Roo/Core_email.php'
                                 },
                                 reader : {
                                     xtype: 'JsonReader',
@@ -119,8 +119,8 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                 xtype: 'PagingToolbar',
                                 xns: Roo,
                                 displayInfo : true,
-                                displayMsg : "Displaying Mailing List Message{0} - {1} of {2}",
-                                emptyMsg : "No Mailing List Message found",
+                                displayMsg : "Displaying Message{0} - {1} of {2}",
+                                emptyMsg : "Nothing found",
                                 pageSize : 25
                             },
                             toolbar : {
@@ -182,7 +182,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                                     return;
                                                 }
                                             new Pman.Request({
-                                                url : baseURL + '/Roo/Core_mailing_list_message',
+                                                url : baseURL + '/Roo/Core_email',
                                                 method : 'POST',
                                                 params : {
                                                     id : sel.data.id,
@@ -206,7 +206,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                             click : function()
                                             {
                                                 if (!_this.dialog) return;
-                                                _this.dialog.show( { id : 0, module : 'core' } , function() {
+                                                _this.dialog.show( { id : 0, module : 'core_email' } , function() {
                                                     _this.grid.footer.onClick('first');
                                                }); 
                                             }
@@ -225,7 +225,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                         listeners : {
                                             click : function()
                                             {
-                                                Pman.genericDelete(_this, 'core_mailing_list_message');
+                                                Pman.genericDelete(_this, 'core_email');
                                                 
                                             }
                                         },
@@ -361,7 +361,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                     xtype: 'HttpProxy',
                                     xns: Roo.data,
                                     method : 'GET',
-                                    url : baseURL+'/Roo/Core_mailing_list_message.php'
+                                    url : baseURL+'/Roo/Core_email.php'
                                 },
                                 reader : {
                                     xtype: 'JsonReader',