projects
/
mirror
/
userdir-ldap-cgi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace use of jquery-tablesorter with DataTables
[mirror/userdir-ldap-cgi.git]
/
html
/
debdb.js
diff --git
a/html/debdb.js
b/html/debdb.js
index
40336f3
..
a92b8a6
100644
(file)
--- a/
html/debdb.js
+++ b/
html/debdb.js
@@
-1,4
+1,8
@@
-$(function() {
- $("#machines").tablesorter({widthFixed: true, widgets: ['zebra']})
+$(document).ready(function() {
+ $("#machines").DataTable({
+ orderCellsTop: true,
+ pageLength: 25,
+ lengthMenu: [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]]
+ });
$(".sort").removeAttr("href")
});
$(".sort").removeAttr("href")
});