Browse Source

Update rubrics.blade.php

parent
commit
d2da5a052f
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      app/views/local/managers/shared/rubrics.blade.php

+ 4
- 1
app/views/local/managers/shared/rubrics.blade.php View File

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