mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user