1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixes Deluge settings appearing in other clients

Hides Deluge Verify Certificate setting from all other clients
This commit is contained in:
sammy2142 2014-05-12 11:59:34 +01:00
parent 1d01d2bc52
commit 676efb106f

View File

@ -44,6 +44,7 @@ $(document).ready(function(){
} else if (selectedProvider == "utorrent") { } else if (selectedProvider == "utorrent") {
$('#t_blackhole_settings').hide(); $('#t_blackhole_settings').hide();
$('#torrent_settings').show(); $('#torrent_settings').show();
$('#Torrent_Verify_Cert').hide();
$('#Torrent_username').show(); $('#Torrent_username').show();
$('#Torrent_Path').hide(); $('#Torrent_Path').hide();
$('#Torrent_Ratio').show(); $('#Torrent_Ratio').show();
@ -58,6 +59,7 @@ $(document).ready(function(){
} else if (selectedProvider == "transmission"){ } else if (selectedProvider == "transmission"){
$('#t_blackhole_settings').hide(); $('#t_blackhole_settings').hide();
$('#torrent_settings').show(); $('#torrent_settings').show();
$('#Torrent_Verify_Cert').hide();
$('#Torrent_username').show(); $('#Torrent_username').show();
$('#Torrent_Path').show(); $('#Torrent_Path').show();
$('#Torrent_Ratio').show(); $('#Torrent_Ratio').show();
@ -87,6 +89,7 @@ $(document).ready(function(){
} else if (selectedProvider == "download_station"){ } else if (selectedProvider == "download_station"){
$('#t_blackhole_settings').hide(); $('#t_blackhole_settings').hide();
$('#torrent_settings').show(); $('#torrent_settings').show();
$('#Torrent_Verify_Cert').hide();
$('#Torrent_Label').hide(); $('#Torrent_Label').hide();
$('#Torrent_username').show(); $('#Torrent_username').show();
$('#Torrent_Paused').hide(); $('#Torrent_Paused').hide();
@ -102,6 +105,7 @@ $(document).ready(function(){
} else if (selectedProvider == "rtorrent"){ } else if (selectedProvider == "rtorrent"){
$('#t_blackhole_settings').hide(); $('#t_blackhole_settings').hide();
$('#torrent_settings').show(); $('#torrent_settings').show();
$('#Torrent_Verify_Cert').hide();
$('#Torrent_Label').show(); $('#Torrent_Label').show();
$('#Torrent_username').show(); $('#Torrent_username').show();
$('#Torrent_Paused').hide(); $('#Torrent_Paused').hide();