Fix #1397 - only load adapter config if tab is enabled.

This commit is contained in:
Adam Sutton 2012-11-20 22:02:00 +00:00
parent e16707bef7
commit e74f53574c

View file

@ -8,7 +8,6 @@ tvheadend.tvAdapterStore = new Ext.data.JsonStore({
'hostconnection', 'currentMux', 'services', 'muxes', 'initialMuxes',
'satConf', 'deliverySystem', 'freqMin', 'freqMax', 'freqStep',
'symrateMin', 'symrateMax', 'signal', 'snr', 'ber', 'unc', 'uncavg'],
autoLoad : true,
url : 'tv/adapter'
});
@ -25,6 +24,8 @@ tvheadend.comet.on('tvAdapter', function(m) {
});
tvheadend.tvadapters = function() {
tvheadend.tvAdapterStore.load();
var adapterSelection = new Ext.form.ComboBox({
loadingText : 'Loading...',
width : 300,