1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Merge pull request #552 from sammy2142/sammy-dev

Fixes Deluge settings appearing in other clients
This commit is contained in:
Nils 2014-05-12 14:01:28 +02:00
commit 27fb9e3228

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();