Skip to content

Commit

Permalink
Web Setup: Add the xmltvid column to the channel editor grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Harrison committed Jul 11, 2011
1 parent 57ee1c6 commit 71d1598
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mythtv/html/setup/js/channeleditor.js
Expand Up @@ -4,18 +4,18 @@ function initChannelEditor() {
$("#channels").jqGrid({
url:'/Channel/GetChannelInfoList?SourceID=' + sourceid,
datatype: 'json',
colNames:['Channel ID', 'Channel Number', 'Callsign', 'Channel Name', 'Visible', 'XMLTVID', 'Icon Path',
colNames:['Channel ID', 'Channel Number', 'Callsign', 'Channel Name', 'XMLTVID', 'Visible', 'Icon Path',
'Multiplex ID', 'Transport ID', 'Service ID', 'Network ID', 'ATSC Major Channel',
'ATSC Minor Channel', 'Format', 'Modulation', 'Frequency', 'Frequency ID', 'Frequency Table',
'Fine Tuning', 'SI Standard', 'Channel Filters', 'Source ID', 'Input ID', 'Commercial Free',
'Use On Air Guide', 'Default Authority'],
colModel:[
{name:'ChanId', editable: true, width:120, sorttype:"int", hidden:true, jsonmap: 'ChanId'},
{name:'ChanNum', search: true, editable: true, width:120, sorttype:"int", jsonmap: 'ChanNum'},
{name:'ChanId', editable: true, width:50, sorttype:"int", hidden:true, jsonmap: 'ChanId'},
{name:'ChanNum', search: true, editable: true, width:70, sorttype:"int", jsonmap: 'ChanNum'},
{name:'CallSign', search: true, editable: true, width:90, sorttype:"text", jsonmap: 'CallSign'},
{name:'ChannelName', search: true, editable: true, width:300, align:"right", sorttype:"text", jsonmap: 'ChannelName'},
{name:'ChannelName', search: true, editable: true, width:90, sorttype:"text", jsonmap: 'ChannelName'},
{name:'XMLTVID', search: true, editable: true, width:120, sortable:false, jsonmap: 'XMLTVID'},
{name:'Visible', search: false, editable: true, width:40, align:"center", sorttype:"bool", jsonmap: 'Visible', formatter:'checkbox',edittype:"checkbox"},
{name:'XMLTVID', editable: true, width:0, align:"right", sortable:false, hidden:true, jsonmap: 'XMLTVID'},
{name:'IconURL', editable: true, width:0, align:"right", sortable:false, hidden:true, jsonmap: 'IconURL'},
{name:'MplexId', editable: true, width:0, align:"right", sortable:false, hidden:true, jsonmap: 'MplexId'},
{name:'TransportId', editable: true, width:0, align:"right", sortable:false, hidden:true, jsonmap: 'TransportId'},
Expand Down

0 comments on commit 71d1598

Please sign in to comment.