Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983

git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-12-26 22:06:15 +00:00
parent de1f10c283
commit 3edaa30bed
6 changed files with 13 additions and 7 deletions
+3
View File
@@ -102,6 +102,9 @@ window.listTable = {
this.set_total_pages(response.total_pages);
if ( response.total_pages > 1 )
$('.tablenav-pages').removeClass('one-page');
$('.current-page').val($.query.GET('paged'));
$('th.column-cb :input').attr('checked', false);