X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.Group_Rights.js;h=875d0a6929d95b5235fc29893f8b24c2d76f4543;hp=c18585c3688f87623548e54abbe652d43493cb42;hb=HEAD;hpb=c5715d4d7adb2b4797c34bc4b3d7406ce837dc11 diff --git a/Pman.Tab.Group_Rights.js b/Pman.Tab.Group_Rights.js index c18585c..875d0a6 100644 --- a/Pman.Tab.Group_Rights.js +++ b/Pman.Tab.Group_Rights.js @@ -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) - { - Roo.log(records); - }, loadexception : Pman.loadException }