mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Adapted query for infocenter parking, replaced null in parkdate with -, set min and max size for messages, increased msglist size, pager counts now only trs in tbody
This commit is contained in:
@@ -32,7 +32,7 @@ $(document).ready(
|
||||
addTablesorter("doctable", [[2, 1], [1, 0]], ["zebra"]);
|
||||
addTablesorter("nachgdoctable", [[2, 0], [1, 1]], ["zebra"]);
|
||||
addTablesorter("msgtable", [[0, 1], [2, 0]], ["zebra", "filter"], 2);
|
||||
tablesortAddPager("msgtable", "msgpager", 10);
|
||||
tablesortAddPager("msgtable", "msgpager", 14);
|
||||
|
||||
formatNotizTable();
|
||||
formatLogTable();
|
||||
@@ -403,7 +403,7 @@ function refreshLog()
|
||||
function formatLogTable()
|
||||
{
|
||||
addTablesorter("logtable", [[0, 1]], ["filter"], 2);
|
||||
tablesortAddPager("logtable", "logpager", 23);
|
||||
tablesortAddPager("logtable", "logpager", 22);
|
||||
$("#logtable").addClass("table-condensed");
|
||||
}
|
||||
|
||||
@@ -467,7 +467,7 @@ function refreshParking(date)
|
||||
function formatNotizTable()
|
||||
{
|
||||
addTablesorter("notiztable", [[0, 1]], ["filter"], 2);
|
||||
tablesortAddPager("notiztable", "notizpager", 10);
|
||||
tablesortAddPager("notiztable", "notizpager", 11);
|
||||
$("#notiztable").addClass("table-condensed");
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ function tablesortAddPager(tableid, pagerid, size)
|
||||
'</form>' +
|
||||
'</div>';
|
||||
|
||||
var rowcount = $("#" + tableid + " tr").length;
|
||||
var rowcount = $("#" + tableid + " tbody tr").length;
|
||||
|
||||
//not show pager if only one table page
|
||||
if (rowcount > size)
|
||||
|
||||
Reference in New Issue
Block a user