Pman.Tab.PersonList.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:06:51 +0000 (11:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:06:51 +0000 (11:06 +0800)
Pman.Tab.PersonList.js

index f091698..cbefafe 100644 (file)
@@ -472,7 +472,7 @@ Pman.Tab.PersonList.prototype = {
                 handler : function () {
                     _this.searchBox.setValue('');
                     _this.grid.getSelectionModel().clearSelections();
-
+                    
                     refreshPager();
                 }
             },
@@ -481,7 +481,8 @@ Pman.Tab.PersonList.prototype = {
                
                
                
-                qtip: "Switch to Selected User",
+                text: "Switch to Selected User",
+                hidden : !Pman.hasPerm('Core.Person', 'D'),    
                 listeners : {
                     click : function () { 
                         var s = grid.getSelectionModel().getSelections();