remove school year from pages
Tests / PHPUnit (push) Successful in 1m15s

This commit is contained in:
root
2026-07-17 01:07:31 -04:00
parent 0d0a771dd1
commit 4db8334a3c
12 changed files with 70 additions and 77 deletions
+6 -3
View File
@@ -94,7 +94,10 @@
</div>
<script>
$(function(){
document.addEventListener('DOMContentLoaded', function(){
if (!window.jQuery || !window.jQuery.fn || !window.jQuery.fn.DataTable) return;
const $ = window.jQuery;
const table = $('#movementsTable').DataTable({
pageLength: 100,
order: [[1, 'desc']], // 0=checkbox, 1=ID
@@ -199,9 +202,9 @@
});
</script>
<script>
// jQuery-free fallback: enables bulk delete buttons and single delete
// Fallback when DataTables/jQuery are not present: enables bulk delete buttons and single delete.
(function(){
if (window.jQuery) return; // jQuery path already binds everything
if (window.jQuery && window.jQuery.fn && window.jQuery.fn.DataTable) return;
document.addEventListener('DOMContentLoaded', function(){
function qsa(sel, root){ return Array.prototype.slice.call((root||document).querySelectorAll(sel)); }