WEBUI JS: epg grid - add info action (icon) to be consistent with dvr

This commit is contained in:
Jaroslav Kysela 2014-09-28 21:05:36 +02:00
parent 8667a57235
commit 6352e3494c

View file

@ -226,12 +226,21 @@ tvheadend.epg = function() {
var lookup = '<span class="x-zoom">&nbsp;</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({