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
1 changed files with 4 additions and 0 deletions

View File

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