X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.Group_Rights.js;h=875d0a6929d95b5235fc29893f8b24c2d76f4543;hp=a44e768325a754873a2291d52b9479f92d104377;hb=HEAD;hpb=83386443d918e094edf15b202b11109accc889d4 diff --git a/Pman.Tab.Group_Rights.js b/Pman.Tab.Group_Rights.js index a44e768..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) - { - _this.panel.el.unmask(); - }, loadexception : Pman.loadException }