diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js
index 796ead0..699e780 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 | |
| … |
… |
commentReply = { |
| 351 | 354 | $('#replyhead, #replybtn', editRow).hide(); |
| 352 | 355 | |
| 353 | 356 | h = c.height(); |
| 354 | | if ( h > 220 ) |
| 355 | | if ( $.browser.msie ) |
| 356 | | $('#replycontainer, #replycontent', editRow).height(h-105); |
| 357 | | else |
| 358 | | $('#replycontainer', editRow).height(h-105); |
| 359 | | |
| | 357 | if ( h > 220 ) { |
| | 358 | $('#replycontainer, #replycontent', editRow).height(h-104); |
| | 359 | } |
| 360 | 360 | c.after( editRow ).fadeOut('fast', function(){ |
| 361 | 361 | $('#replyrow').fadeIn(300, function(){ $(this).show() }); |
| 362 | 362 | }); |
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); |