Update the current page when the number is changed.
This commit is contained in:
parent
bba6f80d9d
commit
c2d5e3c5a0
|
@ -84,6 +84,9 @@
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
renderPage( $( event.currentTarget ).data('goto') );
|
renderPage( $( event.currentTarget ).data('goto') );
|
||||||
} );
|
} );
|
||||||
|
$pagination.on( 'change', 'input', function(event) {
|
||||||
|
renderPage( $( event.currentTarget ).val() );
|
||||||
|
} );
|
||||||
|
|
||||||
$('.wc_tax_rates .remove_tax_rates').click(function() {
|
$('.wc_tax_rates .remove_tax_rates').click(function() {
|
||||||
if ( $tbody.find('tr.current').length > 0 ) {
|
if ( $tbody.find('tr.current').length > 0 ) {
|
||||||
|
|
Loading…
Reference in New Issue