Skip to content

Commit

Permalink
SAK-41938 Forum Tool: Check boxes are not associated to parent label (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
josecebe authored Jun 29, 2020
1 parent 4011bd1 commit 9023f8a
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
});
}
$('#revise\\:forum_locked, #revise\\:moderated, #revise\\:postFirst').each(function() {
$(this).attr('aria-labelledby', 'forum_posting_head ' + $(this).attr('id') + '_label');
});
$('.displayMore').click(function(e){
e.preventDefault();
$('.displayMorePanel').fadeIn('slow')
Expand Down Expand Up @@ -239,27 +243,27 @@
/>
</h:panelGroup>
<%--general posting forum settings --%>
<h2>
<h2 id="forum_posting_head">
<h:outputText value="#{msgs.cdfm_forum_posting}" />
</h2>

<p class="checkbox">
<h:selectBooleanCheckbox
title="ForumLocked" value="#{ForumTool.selectedForum.forumLocked}"
id="forum_locked">
</h:selectBooleanCheckbox> <h:outputLabel for="forum_locked" value="#{msgs.cdfm_lock_forum}" />
</h:selectBooleanCheckbox> <h:outputLabel id="forum_locked_label" value="#{msgs.cdfm_lock_forum}" />
</p>
<p class="checkbox">
<h:selectBooleanCheckbox
title="Moderated" value="#{ForumTool.selectedForum.forumModerated}"
id="moderated">
</h:selectBooleanCheckbox> <h:outputLabel for="moderated" value="#{msgs.cdfm_moderate_forum}" />
</h:selectBooleanCheckbox> <h:outputLabel id="moderated_label" value="#{msgs.cdfm_moderate_forum}" />
</p>
<p class="checkbox">
<h:selectBooleanCheckbox
title="postFirst" value="#{ForumTool.selectedForum.forumPostFirst}"
id="postFirst">
</h:selectBooleanCheckbox> <h:outputLabel for="postFirst" value="#{msgs.cdfm_postFirst}" />
</h:selectBooleanCheckbox> <h:outputLabel id="postFirst_label" value="#{msgs.cdfm_postFirst}" />
</p>

<h2><h:outputText value="#{msgs.cdfm_forum_availability}" /></h2>
Expand Down

0 comments on commit 9023f8a

Please sign in to comment.