From c2d5e3c5a07d84109adcd81f32487429a7c54d5c Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Fri, 7 Aug 2015 17:21:44 -0400 Subject: [PATCH] Update the current page when the number is changed. --- assets/js/admin/settings-views-html-settings-tax.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/js/admin/settings-views-html-settings-tax.js b/assets/js/admin/settings-views-html-settings-tax.js index 8cdfffc5a32..4f29d7f92c1 100644 --- a/assets/js/admin/settings-views-html-settings-tax.js +++ b/assets/js/admin/settings-views-html-settings-tax.js @@ -84,6 +84,9 @@ event.preventDefault(); renderPage( $( event.currentTarget ).data('goto') ); } ); + $pagination.on( 'change', 'input', function(event) { + renderPage( $( event.currentTarget ).val() ); + } ); $('.wc_tax_rates .remove_tax_rates').click(function() { if ( $tbody.find('tr.current').length > 0 ) {