Project

General

Profile

Bug #1369 » t.patch

Adam Sutton, 2012-11-11 21:09

View differences:

src/webui/static/app/iptv.js
1
tvheadend.servicetypeStore = new Ext.data.JsonStore({
2
	root : 'entries',
3
	id : 'val',
4
	url : '/iptv/services',
5
	baseParams : {
6
		op : 'servicetypeList'
7
	},
8
	fields : [ 'val', 'str' ],
9
	autoLoad : true
10
});
11

  
12 1
/**
13 2
 * IPTV service grid
14 3
 */
15 4
tvheadend.iptv = function(adapterId) {
16 5

  
6
  var servicetypeStore = new Ext.data.JsonStore({
7
	  root : 'entries',
8
	  id : 'val',
9
	  url : '/iptv/services',
10
	  baseParams : {
11
		  op : 'servicetypeList'
12
	  },
13
	  fields : [ 'val', 'str' ],
14
	  autoLoad : false
15
  });
16

  
17 17
	var fm = Ext.form;
18 18

  
19 19
	var enabledColumn = new Ext.grid.CheckColumn({
(3-3/3)