diff --git a/ref-test/admin/static/js/script.js b/ref-test/admin/static/js/script.js index 1e3a3ce..a0aab2b 100644 --- a/ref-test/admin/static/js/script.js +++ b/ref-test/admin/static/js/script.js @@ -18,7 +18,7 @@ $('form.form-post').submit(function(event) { var $form = $(this); var data = $form.serialize(); - var url = $(this).attr('action'); + var url = $(this).prop('action'); var rel_success = $(this).data('rel-success'); $.ajax({