From: Alexander Ebert Date: Wed, 21 Nov 2012 13:07:04 +0000 (+0100) Subject: Options are now only visually disabled X-Git-Tag: 2.0.0_Beta_1~762^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b98919b3e0f13a18599c3c5ea3fd076417edec0;p=GitHub%2FWoltLab%2FWCF.git Options are now only visually disabled --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 1e5e9698dc..8868861c56 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -727,10 +727,10 @@ WCF.ACP.Options = Class.extend({ var $target = disableOptions[$i]; if ($.wcfIsset($target)) { if (isActive) { - $('#' + $.wcfEscapeID($target)).disable().closest('dl').addClass('disabled'); + $('#' + $.wcfEscapeID($target)).closest('dl').addClass('disabled'); } else { - $('#' + $.wcfEscapeID($target)).enable().closest('dl').removeClass('disabled'); + $('#' + $.wcfEscapeID($target)).closest('dl').removeClass('disabled'); } } } @@ -741,10 +741,10 @@ WCF.ACP.Options = Class.extend({ var $target = enableOptions[$i]; if ($.wcfIsset($target)) { if (isActive) { - $('#' + $.wcfEscapeID($target)).enable().closest('dl').removeClass('disabled'); + $('#' + $.wcfEscapeID($target)).closest('dl').removeClass('disabled'); } else { - $('#' + $.wcfEscapeID($target)).disable().closest('dl').addClass('disabled'); + $('#' + $.wcfEscapeID($target)).closest('dl').addClass('disabled'); } } }