Bring out the shears.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-01-06 04:11:14 +00:00
parent 8066547be3
commit 85f1feed84
26 changed files with 72 additions and 72 deletions

View File

@@ -213,10 +213,10 @@ setCommentsList = function() {
refillTheExtraList();
};
var refillTheExtraList = function(ev) {
var args = $.query.get(), total_pages = listTable.get_total_pages(), per_page = $('input[name=_per_page]', '#comments-form').val();
if (args.paged > total_pages) {
return;
}
@@ -228,7 +228,7 @@ setCommentsList = function() {
args.number = 1;
args.offset = per_page - 1; // fetch only the last item of the next page
}
args.no_placeholder = true;
args.paged ++;
@@ -277,7 +277,7 @@ commentReply = {
});
this.comments_listing = $('#comments-form > input[name="comment_status"]').val() || '';
$(listTable).bind('beforeChangePage', function(){
commentReply.close();
});