Popup a warning message about disk space consumption if the 'dump dvb mux' checkbox is enabled.

We are supposed to be user friendly after all :)
This commit is contained in:
Andreas Öman 2010-03-02 22:21:03 +00:00
parent d8a0392275
commit 57f9e7e1fe

View file

@ -1040,7 +1040,14 @@ tvheadend.dvb_adapter_general = function(adapterData, satConfStore) {
}),
new Ext.form.Checkbox({
fieldLabel: 'Write full DVB MUX to disk',
name: 'dumpmux'
name: 'dumpmux',
handler: function(s, v) {
if(v)
Ext.MessageBox.alert('DVB Mux dump',
'Please note that keeping this ' +
'option enabled can consume a lot ' +
'of diskspace. You have been warned');
}
}),
{
fieldLabel: 'NIT-o Network ID',