diff --git a/resources/views/admin/ranks/scripts.blade.php b/resources/views/admin/ranks/scripts.blade.php index 462e5bcd..1d105ca6 100644 --- a/resources/views/admin/ranks/scripts.blade.php +++ b/resources/views/admin/ranks/scripts.blade.php @@ -3,11 +3,6 @@ $(document).ready(function () { $(".select2").select2(); - $(document).on('submit', 'form.add_rank', function (event) { - event.preventDefault(); - $.pjax.submit(event, '#ranks_table_wrapper', {push: false}); - }); - $(document).on('submit', 'form.pjax_form', function (event) { event.preventDefault(); $.pjax.submit(event, '#rank_subfleet_wrapper', {push: false});