Add sortable tables

This commit is contained in:
Eike Foken
2011-08-09 20:16:59 +02:00
parent 360408e2eb
commit 3db9e3b8fa
5 changed files with 388 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ $(document).ready(function() {
*/
$('.paginated').each(function() {
var currentPage = 0;
var numPerPage = 6;
var numPerPage = 10;
var table = $(this);
table.bind('repaginate', function() {
@@ -150,6 +150,8 @@ $(document).ready(function() {
table.trigger('repaginate');
});
$('.sortable').tableDnD();
/*
* In-place editor
*/