Skip to content

Commit 2048253

Browse files
committed
Fix Send button in course chat - refs BT#13885
1 parent 0fd8e8a commit 2048253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/template/default/chat/chat.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<textarea id="chat-writer" name="message"></textarea>
4444
</div>
4545
<div class="col-sm-3">
46-
<button id="chat-send-message" type="button" disabled
46+
<button id="chat-send-message" type="button" {{ restrict_to_coach ? 'disabled' : '' }}
4747
class="btn btn-primary">{{ 'Send'|get_lang }}</button>
4848
</div>
4949
</div>

0 commit comments

Comments
 (0)