DownloadClient settings cleaned up

This commit is contained in:
Mark McDowall 2013-05-30 08:29:43 -07:00
parent c1bbd0bd5d
commit fd88f17ead
8 changed files with 47 additions and 47 deletions

View file

@ -39,32 +39,32 @@ define([
refreshUIVisibility: function (clientId) {
if (!clientId) {
clientId = "0";
clientId = "sabnzbd";
}
switch (clientId.toString()) {
case "0":
case "sabnzbd":
this.ui.sabConfig.show();
this.ui.blackholeConfig.hide();
this.ui.pneumaticConfig.hide();
this.ui.nzbGetConfig.hide();
break;
case "1":
case "blackhole":
this.ui.sabConfig.hide();
this.ui.blackholeConfig.show();
this.ui.pneumaticConfig.hide();
this.ui.nzbGetConfig.hide();
break;
case "2":
case "pneumatic":
this.ui.sabConfig.hide();
this.ui.blackholeConfig.hide();
this.ui.pneumaticConfig.show();
this.ui.nzbGetConfig.hide();
break;
case "3":
case "nzbget":
this.ui.sabConfig.hide();
this.ui.blackholeConfig.hide();
this.ui.pneumaticConfig.hide();