forked from ScoDoc/ScoDoc
Page accueil dept: désactive sélection semestres si pas admin.
This commit is contained in:
parent
867575ac78
commit
bbc3bbc701
@ -18,6 +18,7 @@ $(document).ready(function () {
|
||||
};
|
||||
const table = new DataTable("table.semlist", table_options);
|
||||
// Sélection de semestres et mise à jour du menu associé
|
||||
if (document.getElementById("formsemestres-select-infos")) {
|
||||
table.on('click', 'tbody tr', function (e) {
|
||||
e.currentTarget.classList.toggle('selected');
|
||||
var nbSelectedRows = table.rows('.selected').count();
|
||||
@ -63,6 +64,7 @@ $(document).ready(function () {
|
||||
window.location.href = newHref;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Edition des codes Apo
|
||||
let table_editable = document.querySelector("table#semlist.apo_editable");
|
||||
|
Loading…
x
Reference in New Issue
Block a user