From: Harald Szekely Date: Mon, 16 Jan 2012 16:56:52 +0000 (-0800) Subject: Merge pull request #335 from Gravatronics/enhancement/toggle/disabledClass X-Git-Tag: 2.0.0_Beta_1~1425^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f08c2202418ccbc39e3acee5d1f36b360e1ac041;p=GitHub%2FWoltLab%2FWCF.git Merge pull request #335 from Gravatronics/enhancement/toggle/disabledClass Adds disabled class toggle for JS toggle action --- f08c2202418ccbc39e3acee5d1f36b360e1ac041 diff --cc wcfsetup/install/files/js/WCF.js index 7be237809f,b8c77539dc..c68ab00102 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@@ -1387,8 -1360,11 +1388,11 @@@ WCF.Action.Toggle.prototype = return $(this).data('enableMessage'); } }); + + // toggle css class + $(container).toggleClass('disabled'); } - }); + }, this)); } };