Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: epg grid - add info action (icon) to be consistent with dvr
  • Loading branch information
perexg committed Sep 28, 2014
1 parent 8667a57 commit 6352e34
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/webui/static/app/epg.js
Expand Up @@ -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({
Expand Down

0 comments on commit 6352e34

Please sign in to comment.