|
@@ -195,7 +195,7 @@
|
195
|
195
|
<form>
|
196
|
196
|
<div class="form-group">
|
197
|
197
|
<label>Select a Learning Outcome</label>
|
198
|
|
- <select id="select-outcome" class="form-control selectpicker" onchange="fetchObjective(this)">
|
|
198
|
+ <select id="select-outcome" class="form-control selectpicker" >
|
199
|
199
|
@foreach ($outcomes as $outcome)
|
200
|
200
|
<option data-outcome-id="{{ $outcome->id }}">{{ $outcome->name }}</option>
|
201
|
201
|
@endforeach
|
|
@@ -331,6 +331,9 @@
|
331
|
331
|
@stop
|
332
|
332
|
|
333
|
333
|
@section('javascript')
|
|
334
|
+$('#select-outcome').on('change',function(){
|
|
335
|
+ fetchObjective(this);
|
|
336
|
+})
|
334
|
337
|
// --------------------------------------------------------------------------
|
335
|
338
|
// Functions
|
336
|
339
|
// --------------------------------------------------------------------------
|