From 254872a8f8ec5c43c0dce86f1e521f9c22e361df Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sun, 11 Nov 2012 20:08:35 +0000 Subject: [PATCH] Issue #1369 - move iptv service type store inside main tab function else it causes a 401 error for non-admin UI users. --- src/webui/static/app/iptv.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/webui/static/app/iptv.js b/src/webui/static/app/iptv.js index 7914685fa..4cd4f35e9 100644 --- a/src/webui/static/app/iptv.js +++ b/src/webui/static/app/iptv.js @@ -1,19 +1,19 @@ -tvheadend.servicetypeStore = new Ext.data.JsonStore({ - root : 'entries', - id : 'val', - url : '/iptv/services', - baseParams : { - op : 'servicetypeList' - }, - fields : [ 'val', 'str' ], - autoLoad : true -}); - /** * IPTV service grid */ tvheadend.iptv = function(adapterId) { + var servicetypeStore = new Ext.data.JsonStore({ + root : 'entries', + id : 'val', + url : '/iptv/services', + baseParams : { + op : 'servicetypeList' + }, + fields : [ 'val', 'str' ], + autoLoad : false + }); + var fm = Ext.form; var enabledColumn = new Ext.grid.CheckColumn({ -- 2.47.2