X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminContactsGroup.bjs;h=825387c8f2749d4f2387b9784dc3619124d01c09;hp=f121d1b87699a857f125159c7a0acc33f81f1203;hb=HEAD;hpb=b6c0bf3179eeeb0c66ddc3c622f8b84e520d6e75
diff --git a/Pman.Tab.AdminContactsGroup.bjs b/Pman.Tab.AdminContactsGroup.bjs
index f121d1b..825387c 100644
--- a/Pman.Tab.AdminContactsGroup.bjs
+++ b/Pman.Tab.AdminContactsGroup.bjs
@@ -2,7 +2,7 @@
"name" : "Pman.Tab.AdminContactsGroup",
"parent" : "Pman.Tab.AdminContactsManager",
"title" : "Pman.Tab.AdminContactsGroup",
- "path" : "/home/benny/gitlive/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs",
+ "path" : "/home/benny/gitlive/web.hhyc_membership_system/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs",
"permname" : "",
"modOrder" : "001",
"strings" : {
@@ -19,9 +19,9 @@
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.ds.load({});\n }\n}"
},
+ "fitToframe" : true,
"background" : true,
"region" : "west",
- "fitToframe" : true,
"title" : "Groups",
"xtype" : "GridPanel",
"fitContainer" : true,
@@ -34,8 +34,8 @@
"|render" : "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.Groups;\n if (_this.panel.active) {\n _this.grid.ds.load({});\n }\n}"
},
"autoExpandColumn" : "name",
- "xtype" : "Grid",
"enableDrop" : true,
+ "xtype" : "Grid",
"ddGroup" : "groupDD",
"loadMask" : true,
"$ xns" : "Roo.grid",
@@ -54,8 +54,8 @@
"items" : [
{
"$ url" : "baseURL + '/Roo/core_group'",
- "xtype" : "HttpProxy",
"method" : "GET",
+ "xtype" : "HttpProxy",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
@@ -135,8 +135,8 @@
},
{
"xtype" : "ColumnModel",
- "width" : 200,
"header" : "Name",
+ "width" : 200,
"$ renderer" : "function(v,x,r) { \n if (r.data.id == -1) {\n return '' + \"Not in a Group\" + '';\n }\n if ((r.data.id == 0) && (_this.type == 0)) {\n return '' + \"All Staff (Default Permissions)\" + '';\n }\n if ((r.data.id == 0) && (_this.type == 2)) {\n return '' + \"Everybody\" + '';\n }\n if (r.data.id == 0) {\n return '' + \"All Staff\" + '';\n }\n if (v == 'Administrators') {\n return '' + \"Adminstrators\" + '';\n }\n if (r.data.leader) {\n return v + ' (' + r.data.leader_name + ')';\n }\n \n return v;\n}",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",