fix broken add rank
This commit is contained in:
parent
dd629b2af8
commit
da19152a1e
@ -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});
|
||||||
|
Loading…
Reference in New Issue
Block a user