Pman.Tab.AdminContactsGroup.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Sep 2012 03:13:27 +0000 (11:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Sep 2012 03:13:27 +0000 (11:13 +0800)
Pman.Tab.AdminContactsGroup.js

index 5490045..6605e39 100644 (file)
@@ -340,7 +340,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({
                                 sels.push(data.selections[i].data.id);
                             }
                         
-                            Pman.request({
+                            new Pman.Request({
                                 url: baseURL + '/Core/GroupMembers.php',
                                 params: {
                                     action : action,
@@ -350,7 +350,8 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({
                                     
                                 },  
                                 method: 'POST',  
-                                success : function(data) {
+                                success : function(res) {
+                                    var data = res.data;
                                     //refreshPager();
                                     // 
                                     // do we need to do anything??