Change wording of LNB poweroff option and hide on non -S adapters.

This commit is contained in:
Adam Sutton 2012-08-29 22:10:06 +01:00
parent d0efe2998a
commit a453a7cda1

View file

@ -1150,10 +1150,6 @@ tvheadend.dvb_adapter_general = function(adapterData, satConfStore) {
'of diskspace. You have been warned');
}
}),
new Ext.form.Checkbox({
fieldLabel: 'Turn off adapter when idle',
name: 'poweroff'
}),
{
fieldLabel: 'NIT-o Network ID',
name: 'nitoid',
@ -1177,7 +1173,13 @@ tvheadend.dvb_adapter_general = function(adapterData, satConfStore) {
store: ['DiSEqC 1.0 / 2.0', 'DiSEqC 1.1 / 2.1']
});
items.push(v);
}
v = new Ext.form.Checkbox({
fieldLabel: 'Turn off LNB when idle',
name: 'poweroff'
});
items.push(v);
}
var confform = new Ext.FormPanel({
title:'Adapter configuration',