fix broken add rank

This commit is contained in:
Nabeel Shahzad 2018-01-04 21:37:46 -06:00
parent dd629b2af8
commit da19152a1e

View File

@ -3,11 +3,6 @@
$(document).ready(function () { $(document).ready(function () {
$(".select2").select2(); $(".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) { $(document).on('submit', 'form.pjax_form', function (event) {
event.preventDefault(); event.preventDefault();
$.pjax.submit(event, '#rank_subfleet_wrapper', {push: false}); $.pjax.submit(event, '#rank_subfleet_wrapper', {push: false});