Fix #7591 - scanning templates for multiple projects using Content manager
[Pman.Admin] / Pman.Tab.PersonStaff.js
index 698a3f5..69e87f8 100644 (file)
@@ -26,7 +26,7 @@ Pman.on('beforeload', function()
 Pman.Tab.PersonStaff = new  Pman.Tab.PersonList({
     id : 'personstaff',
     type: 1,
-    permName : 'Admin.Teams', // or 'Core.Staff'
+    permName : 'Core.Staff', // or 'Core.Staff'
     getLeftSelections : function() {
         
         return Pman.Tab.Teams.grid ? Pman.Tab.Teams.grid.getSelectionModel().getSelections() : [];
@@ -65,7 +65,8 @@ Pman.Tab.PersonStaff = new  Pman.Tab.PersonList({
     },
     
     dialog: function () {
-        return Pman.Dialog.PersonStaff;
+        return Pman.Dialog.AdminPerson;
+        //return Pman.Dialog.PersonStaff;
     },
     bulkAdd : function() {
         //return Pman.Dialog.PersonBulkAdd