From da19152a1ea56fcc671b2ba074100ab9b6b9a62f Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 4 Jan 2018 21:37:46 -0600 Subject: [PATCH] fix broken add rank --- resources/views/admin/ranks/scripts.blade.php | 5 ----- 1 file changed, 5 deletions(-) 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});