function comment_form_switch_<xsl:value-of select="$uniqueId"/>() { var form = document.getElementById('comment-<xsl:value-of select="$uniqueId"/>'); form.style.display = (form.style.display == 'none') ? '' : 'none'; } comment_form_switch_<xsl:value-of select="$uniqueId"/>();
That code should be a part of the demo skin. If we want the comment form always opened and not open it on the click, we are forced to override all the comment-form-script template. That is too bad.
Or at least, we should to split this template.
- Référence
-
CMS-9413 Add SubComment and new features comments
- Closed