X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.Group_Rights.js;h=875d0a6929d95b5235fc29893f8b24c2d76f4543;hp=a995b840ac294266aeb76d2e2e24cc261f0fbac1;hb=HEAD;hpb=8adc0f4bdca943cd9d7b1e9067eebfa9f47d3bdd diff --git a/Pman.Tab.Group_Rights.js b/Pman.Tab.Group_Rights.js index a995b84..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) @@ -131,7 +158,6 @@ Pman.Tab.Group_Rights = { 'width' : 50, renderer : function(v,x,r) { - return ''; return String.format('{0}', v.split('.').shift(), v); } },