]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Issue #1369 - move iptv service type store inside main tab function else it causes...
authorAdam Sutton <dev@adamsutton.me.uk>
Sun, 11 Nov 2012 20:08:35 +0000 (20:08 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Wed, 14 Nov 2012 19:49:55 +0000 (19:49 +0000)
src/webui/static/app/iptv.js

index 7914685faa642877e3bb8121593f3b2a7430e6a5..4cd4f35e9ba0a6b1512cf2ad31544217a53e9d5f 100644 (file)
@@ -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({