fixing pagination/pagesort conflicts

This commit is contained in:
Sebastian Grewe 2013-09-12 10:02:48 +02:00
parent f3ce2cb812
commit 0bd21a0873
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
$(document).ready(function() {
$(".tablesorter").tablesorter().tablesorterPager({positionFixed: false, container: $("#pager"), cssNext: ".icon-forward", cssPrev: ".icon-backward", cssFirst: ".icon-fast-backward", cssLast: ".icon-fast-forward"});
$(".tablesorter").tablesorter();
$(".tablesorterpager").tablesorter().tablesorterPager({positionFixed: false, container: $("#pager"), cssNext: ".icon-forward", cssPrev: ".icon-backward", cssFirst: ".icon-fast-backward", cssLast: ".icon-fast-forward"});
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content

View File

@ -59,7 +59,7 @@
<h3>Notification History</h3>
<div class="submit_link">{include file="global/pagination.tpl"}</div>
</header>
<table width="100%" class="tablesorter" cellspacing="0">
<table width="100%" class="tablesorterpager" cellspacing="0">
<thead style="font-size:13px;">
<tr>
<th align="center" style="cursor: pointer;">ID</th>

View File

@ -28,7 +28,7 @@
<h3>User Information</h3>
<div class="submit_link">{include file="global/pagination.tpl"}</div>
</header>
<table width="100%" class="tablesort">
<table width="100%" class="tablesorterpager">
<thead>
<tr>
<th align="center">ID</th>