Would you like to pair these new Learning Outcomes to all the Criteria
associated to
this Objective?
@stop
@section('javascript')
// --------------------------------------------------------------------------
// Page load
// --------------------------------------------------------------------------
// Hide accordion panel contents by default
$('.panel-group .panel-body').hide();
$('#outcome-display').parent().hide();
// fetchObjectiveForEditing();
// setCriterionStatus();
fetchAllObjectives("select-program", "assoc_outcomes_fetch")
// --------------------------------------------------------------------------
// Functions
// --------------------------------------------------------------------------
// Fetch criterion info for editing
$('#button-add-outcome').on('click', function(e) {
// Prevent the default action of the clicked item. In this case that is submit
e.preventDefault();
return false;
});
$('#button-add-assoc-outcome').on('click', function(e) {
// Prevent the default action of the clicked item. In this case that is submit
e.preventDefault();
return false;
});
// --------------------------------------------------------------------------
// Events
// --------------------------------------------------------------------------
// When panel heading is clicked, toggle it
$('.panel-group .panel-heading').on('click', function()
{
$(this).next().stop().slideToggle();
})
// When list item is clicked, load corresponding info
$('#select-objective').on('change', function()
{
fetchObjectiveForEditing();
$('.selectpicker').selectpicker('refresh');
});
// When list item is clicked, load corresponding info
$('.selectpicker').on('change', function()
{
//alert($(this).find(':selected').val());
$('.selectpicker').selectpicker('refresh');
});
@stop