From: Tim Düsterhus Date: Mon, 3 Jun 2013 13:01:16 +0000 (+0200) Subject: Fix custom class name focusing in labelAdd.tpl X-Git-Tag: 2.0.0_Beta_3~18^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a9a0e6d8966b1b1ad46a75cc0fb38a42eba2962;p=GitHub%2FWoltLab%2FWCF.git Fix custom class name focusing in labelAdd.tpl see http://beta.woltlab.com/index.php/Thread/1780-Label-customCssClassName-kein-Input-m%C3%B6glich/ --- diff --git a/wcfsetup/install/files/acp/templates/labelAdd.tpl b/wcfsetup/install/files/acp/templates/labelAdd.tpl index 93289d0ba7..59b64ca6ce 100644 --- a/wcfsetup/install/files/acp/templates/labelAdd.tpl +++ b/wcfsetup/install/files/acp/templates/labelAdd.tpl @@ -8,6 +8,10 @@ }); new WCF.Label.ACPList(); + + $('#customCssClassName').click(function() { + $(this).parents('li').find('input[type=radio]').click(); + }); }); //]]> @@ -86,7 +90,7 @@