WEBUI JS: epg grid - add info action (icon) to be consistent with dvr
This commit is contained in:
parent
8667a57235
commit
6352e3494c
1 changed files with 14 additions and 5 deletions
|
@ -226,12 +226,21 @@ tvheadend.epg = function() {
|
|||
var lookup = '<span class="x-zoom"> </span>';
|
||||
|
||||
var actions = new Ext.ux.grid.RowActions({
|
||||
header: '',
|
||||
width: 20,
|
||||
id: 'details',
|
||||
header: 'Details',
|
||||
width: 45,
|
||||
dataIndex: 'actions',
|
||||
actions: [{
|
||||
iconIndex: 'dvrState'
|
||||
}]
|
||||
actions: [
|
||||
{
|
||||
iconCls: 'info',
|
||||
qtip: 'Broadcast details',
|
||||
cb: function(grid, rec, act, row) {
|
||||
new tvheadend.epgDetails(grid.getStore().getAt(row).data);
|
||||
}
|
||||
},
|
||||
{ iconIndex: 'dvrState' }
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
var epgStore = new Ext.ux.grid.livegrid.Store({
|
||||
|
|
Loading…
Add table
Reference in a new issue