diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js
index 796ead0..c82e6cf 100644
|
|
|
|
| 1 | | var theList, theExtraList, toggleWithKeyboard = false; |
| | 1 | var theList, theExtraList, toggleWithKeyboard = false, ed_reply; |
| 2 | 2 | (function($) { |
| 3 | 3 | |
| 4 | 4 | setCommentsList = function() { |
| … |
… |
commentReply = { |
| 274 | 274 | }); |
| 275 | 275 | |
| 276 | 276 | this.comments_listing = $('#comments-form > input[name="comment_status"]').val() || ''; |
| 277 | | |
| | 277 | |
| | 278 | $(listTable).bind('beforeChangePage', function(){ |
| | 279 | commentReply.close(); |
| | 280 | }); |
| 278 | 281 | }, |
| 279 | 282 | |
| 280 | 283 | addEvents : function(r) { |
| … |
… |
commentReply = { |
| 304 | 307 | |
| 305 | 308 | close : function() { |
| 306 | 309 | var c; |
| 307 | | |
| | 310 | ed_reply.edCloseAllTags(); |
| 308 | 311 | if ( this.cid ) { |
| 309 | 312 | c = $('#comment-' + this.cid); |
| 310 | 313 | |
diff --git wp-admin/js/list-table.dev.js wp-admin/js/list-table.dev.js
index d44e7a7..612c43c 100644
|
|
|
listTable.init(); |
| 155 | 155 | if ( paged > listTable.get_total_pages() ) |
| 156 | 156 | paged = listTable.get_total_pages(); |
| 157 | 157 | |
| | 158 | $(listTable).trigger('beforeChangePage'); |
| 158 | 159 | listTable.update_rows({'paged': paged}, false, function() { |
| 159 | 160 | if ( $el.parents('.tablenav.bottom').length ) |
| 160 | 161 | scrollTo(0, 0); |