/**
*
* generic person list - used by perms. and staff lists.
+ *
+ * -- this is probably depreciated now..
*
*/
// teams!?!
alert('person list not configured');
return false;
+ /*
var tms = _this.getLeftSelections();
if (tms.length) {
o.params['query[type]'] = this.type; // group type..
o.params['query[person_internal_only_all]'] = 1;
o.params['query[person_inactive]'] = this.showInActive ? 0 : 1;
+ */
},
cm: new Roo.grid.ColumnModel(
this.columns()
),
- autoExpandColumn: _this.id + '-name' , // fixme!!!!
+ autoExpandColumn: 'name', // fixme!!!!
clicksToEdit : 1,
loadMask: true,
'-',
{
-
+ xtype : 'Button',
+ xns : Roo.Toolbar,
text: "Switch to Selected User",
- // hidden : _this.permName != 'Core.Staff' || !Pman.hasPerm('Core.Staff', 'E'),
+ hidden : _this.permName != 'Core.Staff' || !Pman.hasPerm('Core.Staff', 'E'),
listeners : {
click : function () {
var s = grid.getSelectionModel().getSelections();
c_name : function(cfg) {
cfg = cfg || {};
return Roo.apply({
- id : this.id + '-name',
+ // id : (this.id + '-name').toLowerCase(),
header : "Name",
dataIndex : 'name',
- sortable : true,
- width : 150
+ sortable : true
+ // width : 150
}, cfg);
},
c_company_id_comptype : function(cfg) {