From 0a9a0e6d8966b1b1ad46a75cc0fb38a42eba2962 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 3 Jun 2013 15:01:16 +0200 Subject: [PATCH] Fix custom class name focusing in labelAdd.tpl see http://beta.woltlab.com/index.php/Thread/1780-Label-customCssClassName-kein-Input-m%C3%B6glich/ --- wcfsetup/install/files/acp/templates/labelAdd.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@