From 1b98919b3e0f13a18599c3c5ea3fd076417edec0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 21 Nov 2012 14:07:04 +0100 Subject: [PATCH] Options are now only visually disabled --- wcfsetup/install/files/acp/js/WCF.ACP.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'); } } } -- 2.20.1