forked from ScoDoc/ScoDoc
26 lines
785 B
JavaScript
26 lines
785 B
JavaScript
/* Page accueil département */
|
|
var apo_editor = null;
|
|
|
|
$(document).ready(function () {
|
|
var table_options = {
|
|
"paging": false,
|
|
"searching": false,
|
|
"info": false,
|
|
/* "autoWidth" : false, */
|
|
"fixedHeader": {
|
|
"header": true,
|
|
"footer": true
|
|
},
|
|
"orderCellsTop": true, // cellules ligne 1 pour tri
|
|
"aaSorting": [], // Prevent initial sorting
|
|
};
|
|
$('table.semlist').DataTable(table_options);
|
|
let table_editable = document.querySelector("table#semlist.apo_editable");
|
|
if (table_editable) {
|
|
let apo_save_url = document.querySelector("table#semlist.apo_editable").dataset.apo_save_url;
|
|
apo_editor = new ScoFieldEditor(".etapes_apo_str", apo_save_url, false);
|
|
}
|
|
});
|
|
|
|
|