sync
[Pman.Admin] / Pman.Tab.Group_Rights.js
index a44e768..875d0a6 100644 (file)
@@ -87,7 +87,34 @@ Pman.Tab.Group_Rights = {
                         url: baseURL + '/Admin/GroupRights.php',
                         method: 'GET'
                     }),
-                    reader: new Roo.data.JsonReader({}, []),
+                    reader: new Roo.data.JsonReader({}, 
+                        [
+                            {
+                                'name': 'FullMask',
+                                'type': 'string'
+                            },
+                            {
+                                'name': 'accessmask',
+                                'type': 'string'
+                            },
+                            {
+                                'name': 'descript',
+                                'type': 'string'
+                            },
+                            {
+                                'name': 'group_id',
+                                'type': 'int'
+                            },
+                            {
+                                'name': 'id',
+                                'type': 'int'
+                            },
+                            {
+                                'name': 'rightname',
+                                'type': 'string'
+                            }
+                        ]
+                    ),
                     remoteSort: false,
                     listeners : {
                         beforeload : function(t,o)
@@ -108,10 +135,6 @@ Pman.Tab.Group_Rights = {
                             _this.grid.getView().el.unmask();
                             return true;
                         },
-                        load : function (_self, records, options)
-                        {
-                         _this.panel.el.unmask();
-                        },
                         loadexception : Pman.loadException
                     
                     }