X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.Group_Rights.js;h=875d0a6929d95b5235fc29893f8b24c2d76f4543;hp=bf81b87040bb0849d1d097c45c95f1eadafa55a3;hb=HEAD;hpb=ffcb5a67be546f2b0432ca832f769ba76460b356 diff --git a/Pman.Tab.Group_Rights.js b/Pman.Tab.Group_Rights.js index bf81b87..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) { - Roo.log(r); return String.format('{0}', v.split('.').shift(), v); } },