#11 assign/remove fares from aircraft

This commit is contained in:
Nabeel Shahzad
2017-06-13 14:01:06 -05:00
parent 8c87c697ac
commit 4b137460e3
4 changed files with 53 additions and 11 deletions

View File

@@ -24,8 +24,8 @@
@section('scripts')
<script>
$(document).ready(function() {
$(".ac-fare-dropdown").select2();
$(document).on('submit', 'form.rm_fare', function(event) {
console.log('saving!');
event.preventDefault();
$.pjax.submit(event, '#aircraft_fares_wrapper', {push: false});
});