Pman.Tab.Group_Rights.js
[Pman.Admin] / Pman.Tab.Group_Rights.js
index a44e768..4423f80 100644 (file)
@@ -87,7 +87,14 @@ Pman.Tab.Group_Rights = {
                         url: baseURL + '/Admin/GroupRights.php',
                         method: 'GET'
                     }),
-                    reader: new Roo.data.JsonReader({}, []),
+                    reader: new Roo.data.JsonReader({}, 
+                        [
+                            {
+                                'name': 'rightname',
+                                'type': 'string'
+                            }
+                        ]
+                    ),
                     remoteSort: false,
                     listeners : {
                         beforeload : function(t,o)
@@ -110,7 +117,7 @@ Pman.Tab.Group_Rights = {
                         },
                         load : function (_self, records, options)
                         {
-                         _this.panel.el.unmask();
+                            Roo.log(records);
                         },
                         loadexception : Pman.loadException