From 3fc686e40350d02bf55b12c5a2a882a285be3d15 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 1 Aug 2011 12:37:05 +0000 Subject: [PATCH] Bug fix: do not modify the page's address (by changing the final anchor) when clicking on a page in a paginated display. Otherwise this interferes with the tabbed navigation. SVN:trunk[1403] --- css/light-grey.css | 8 ++++++-- js/jquery.tablesorter.pager.js | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/css/light-grey.css b/css/light-grey.css index 43b30e02c..3048173b6 100644 --- a/css/light-grey.css +++ b/css/light-grey.css @@ -1062,16 +1062,20 @@ table.pagination tr td { margin-top: 0; margin-bottom: 0; } -.pager td a { +.pager td span { min-width: 20px; display:inline-block; text-align: center; + cursor: pointer; } -.pager td a.curr_page { +.pager td span.curr_page { color: #fff; background: #999; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; +} +img.prev, img.first, img.next, img.last { + cursor: pointer; } \ No newline at end of file diff --git a/js/jquery.tablesorter.pager.js b/js/jquery.tablesorter.pager.js index f818f3f64..3736b698b 100644 --- a/js/jquery.tablesorter.pager.js +++ b/js/jquery.tablesorter.pager.js @@ -290,11 +290,11 @@ function sprintf(format, etc) { var link = ' '+page+' '; if (i != c.page) { - link = ' '+page+' '; + link = ' '+page+' '; } else { - link = ' '+page+' '; + link = ' '+page+' '; } txt += link; }