Changed Pman.Tab.PersonList.js
authorAlan <alan@roojs.com>
Wed, 28 Jun 2023 04:16:35 +0000 (12:16 +0800)
committerAlan <alan@roojs.com>
Wed, 28 Jun 2023 04:16:35 +0000 (12:16 +0800)
Pman.Tab.PersonList.js

index cf2c313..8ee3fb1 100644 (file)
@@ -564,8 +564,27 @@ Pman.Tab.PersonList.prototype = {
                 }
             
                      
-            }
+            },
+            '->',
             
+              {
+               
+                xtype : 'Button',
+                xns : Roo.Toolbar,
+               
+                text: "Bulk Change Passwords",
+                hidden : _this.permName != 'Core.Staff' || !Pman.hasPerm('Core.Staff', 'E'),
+                listeners : {
+                    click : function () {
+                        Pman.Dialog.AdminBulkPassword.show({}, function() { 
+                          refreshPager();
+                        });
+                        
+                    }
+                }
+            
+                     
+            }
 
         );