Pman.Tab.Group_Rights.js
[Pman.Admin] / Pman.Tab.Group_Rights.js
index ae1798d..61970a9 100644 (file)
@@ -131,7 +131,7 @@ Pman.Tab.Group_Rights = {
                         'width' : 50,
                         renderer : function(v,x,r)
                         {
-                            return String.format('{0}',v.split('.').unshift());
+                            return String.format('{0}',v.split('.').shift());
                         }
                     },
                     
@@ -150,19 +150,9 @@ Pman.Tab.Group_Rights = {
                             
                             // this needs to be generated by the modules..
                             switch(v) {
-                                case   'Documents.Document_Manager': return "Document Manager";
-                                case   'Documents.Documents': return "Documents";
-                                case   'Documents.Unread_Documents': return "Unread Documents";
-                                case   'Documents.Distribute_Documents': return "Distribute Documents";
-                                case   'Documents.Work_In_Progress': return "Work In Progress";
-                                
-                                case   'Documents.Project_Directory': return "Project Directory";
-                                    
+                        
+                                 
                                  
-                                case   'Fax.Fax': return "Fax";
-                                case   'Fax.Fax_To_Company': return "Send Faxes To Companies";
-                                case   'Timesheet.Timesheet': return "Timesheet";
-                                
                                 case   'Admin.Admin_Tab':   return "Admin Tab";  
                                 case   'Core.Person': return "Person";
                                 case   'Core.Offices': return "Offices";