Update the current page when the number is changed.

This commit is contained in:
George Stephanis 2015-08-07 17:21:44 -04:00
parent bba6f80d9d
commit c2d5e3c5a0
1 changed files with 3 additions and 0 deletions

View File

@ -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 ) {