mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-09 08:14:39 +00:00
Remove jquery remeanants
This commit is contained in:
@@ -83,9 +83,10 @@ TODO : rewrite the pagination used in this template an Alpine one
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
function formPagination(link){
|
||||
$("form").attr("action", link.href);
|
||||
const form = document.getElementById("form")
|
||||
form.action = link.href;
|
||||
link.href = "javascript:void(0)"; // block link action
|
||||
$("form").submit();
|
||||
form.submit();
|
||||
}
|
||||
</script>
|
||||
{{ paginate(paginated_result, paginator, "formPagination(this)") }}
|
||||
|
Reference in New Issue
Block a user