diff --git a/src/webui/static/app/epggrab.js b/src/webui/static/app/epggrab.js index 1abcc492..9ea3af9b 100644 --- a/src/webui/static/app/epggrab.js +++ b/src/webui/static/app/epggrab.js @@ -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 });