désactiver tri colonnes de class nosort dans une liste triable
This commit is contained in:
parent
0be13c1c11
commit
c893639b9e
3 changed files with 42 additions and 5 deletions
|
|
@ -124,7 +124,7 @@
|
|||
<td>{{$cat_name}}</td>
|
||||
<td class="num">{{$col3}}</td>
|
||||
<td class="num">{{$col4}}</td>
|
||||
<td class="num">{{$dispo}}</td>
|
||||
<td class="num nosort">{{$dispo}}</td>
|
||||
<td class="actions">
|
||||
{{if $col4 > 0}}
|
||||
{{:linkbutton
|
||||
|
|
@ -159,3 +159,10 @@
|
|||
{{else}}
|
||||
<p class="block alert">Aucun matériel.</p>
|
||||
{{/list}}
|
||||
|
||||
<script type="text/javascript" src="scripts.js"></script>
|
||||
<script type="text/javascript">
|
||||
(function () {
|
||||
disableColumSort(document.querySelector("table[class=list]"));
|
||||
})();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue