jQuery to Disable the Blueprint Course "Include Course Settings" Box

elarin
Community Participant

Hi all. We have a problem with some of our instructors checking the "Include Course Settings" box when syncing blueprint courses. The associated courses are being published too early and their start and end dates are being set to blank.

Does anyone know of jQuery code to disable/hide that line in the UI? My attempts so far are not working. This is what I've tried so far:

$("body").on('click', '.bcs__trigger', function () {
setTimeout(1000);
$('span:contains("Include Course Settings")').parent().remove()
});

Labels (2)
0 Likes