mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix toggle of version changes in all pages of datatable
This commit is contained in:
parent
d7b3029383
commit
cf251515f4
2 changed files with 8 additions and 5 deletions
|
|
@ -6,9 +6,4 @@ $(function () {
|
|||
pagingType: 'full_numbers',
|
||||
"lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
|
||||
});
|
||||
|
||||
$('#versionstable').DataTable({
|
||||
pagingType: 'full_numbers',
|
||||
order: [[ 0, 'desc' ]]
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -69,3 +69,11 @@
|
|||
|
||||
%td.col-md-2
|
||||
= render partial: 'shared/changelog_actions', locals: { version: version }
|
||||
:javascript
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#versionstable').DataTable({
|
||||
pagingType: 'full_numbers',
|
||||
order: [[ 0, 'desc' ]]
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue