admin can add comments to PIREPs #70

This commit is contained in:
Nabeel Shahzad
2018-01-03 15:27:56 -06:00
parent fce6c987fd
commit be6e5e8dec
20 changed files with 179 additions and 105 deletions

View File

@@ -21,19 +21,4 @@
</div>
</div>
@endsection
@section('scripts')
<script>
$(document).ready(function() {
$(".select2_dropdown").select2();
$(document).on('submit', 'form.pjax_form', function(event) {
event.preventDefault();
$.pjax.submit(event, '#rank_subfleet_wrapper', {push: false});
});
$(document).on('pjax:complete', function() {
$(".select2_dropdown").select2();
});
});
</script>
@endsection
@include('admin.ranks.scripts')