Use 'Description' on the submissions page. Fill template from submission_instructions

This commit is contained in:
Michael Ball 2021-03-22 02:59:35 -07:00
parent b4a174944e
commit 75b60c2578
2 changed files with 10 additions and 7 deletions

View file

@ -49,6 +49,8 @@ $(function () {
$('.' + id).collapse('hide');
$('#' + $(this).val() + '-help.' + id).collapse('show');
$('#' + $(this).val() + '-instructions.' + id).collapse('show');
});
$('.dropdown-toggle').dropdown();
@ -165,7 +167,7 @@ $( document ).ready(function() {
var min = $selected.data("min-words");
// Set the filler text for the submission text
fill_if_empty('event_submission_text', $selected.data("help"));
fill_if_empty('event_submission_text', $selected.data("instructions"));
$("#abstract-maximum-word-count").text(max);
$("#submission-maximum-word-count").text(max);