see http://beta.woltlab.com/index.php/Thread/1780-Label-customCssClassName-kein-Input-m%C3%B6glich/
});
new WCF.Label.ACPList();
+
+ $('#customCssClassName').click(function() {
+ $(this).parents('li').find('input[type=radio]').click();
+ });
});
//]]>
</script>
<ul id="labelList">
{foreach from=$availableCssClassNames item=className}
{if $className == 'custom'}
- <li class="labelCustomClass"><label><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked="checked"{/if} /> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long" /></span></label></li>
+ <li class="labelCustomClass"><input type="radio" name="cssClassName" value="custom"{if $cssClassName == 'custom'} checked="checked"{/if} /> <span><input type="text" id="customCssClassName" name="customCssClassName" value="{$customCssClassName}" class="long" /></span></li>
{else}
<li><label><input type="radio" name="cssClassName" value="{$className}"{if $cssClassName == $className} checked="checked"{/if} /> <span class="badge label{if $className != 'none'} {$className}{/if}">Label</span></label></li>
{/if}