Pman.Tab.Groups.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 17 Mar 2011 14:12:29 +0000 (22:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 17 Mar 2011 14:12:29 +0000 (22:12 +0800)
Pman.Tab.Groups.js [new file with mode: 0644]

diff --git a/Pman.Tab.Groups.js b/Pman.Tab.Groups.js
new file mode 100644 (file)
index 0000000..96a1ebb
--- /dev/null
@@ -0,0 +1,27 @@
+//<script type="text/javascript">
+
+
+// fixme - needs a delayed create..
+
+
+Pman.on('beforeload', function()
+{ 
+    
+    Pman.Tab.Groups.title = "Groups";
+    
+    Pman.register({
+        modKey : '00-pman-tab-groups',
+        module : Pman.Tab.Groups,
+        region : 'west',
+        parent : Pman.Tab.GroupMgr,
+        name : "Permission Groups"
+    });
+});   
+
+Pman.Tab.Groups = new Pman.Tab.GroupsList({
+    id : 'groups',
+    title:  "Groups", // fixme change to method!!!
+    type : 0,
+    getDialog : function () { return Pman.Dialog.Groups; }
+});
\ No newline at end of file