Fix problem with javascript which makes epggrab module config impossible.

This commit is contained in:
Adam Sutton 2012-08-01 15:26:11 +01:00
parent f11494c783
commit e0f49eb077

View file

@ -1,11 +1,3 @@
tvheadend.epggrabModules = new Ext.data.JsonStore({
root : 'entries',
url : 'epggrab',
baseParams : { op : 'moduleList' },
autoLoad : true,
fields : [ 'id', 'name', 'path', 'type', 'enabled' ]
});
tvheadend.epggrabChannels = new Ext.data.JsonStore({
root : 'entries',
url : 'epggrab',
@ -27,7 +19,13 @@ tvheadend.epggrab = function() {
var EPGGRAB_MODULE_EXTERNAL = 1;
var EPGGRAB_MODULE_OTA = 2;
var moduleStore = tvheadend.epggrabModules;
var moduleStore = new Ext.data.JsonStore({
root : 'entries',
url : 'epggrab',
baseParams : { op : 'moduleList' },
autoLoad : true,
fields : [ 'id', 'name', 'path', 'type', 'enabled' ]
});
var internalModuleStore = new Ext.data.Store({
recordType: moduleStore.recordType
});