Fixed moving multiple posts down in post upload

This commit is contained in:
Marcin Kurczewski 2014-11-09 20:14:21 +01:00
parent bb381642dc
commit c6ce37d537

View file

@ -527,7 +527,7 @@ App.Presenters.PostUploadPresenter = function(
} }
function movePostsDown(posts) { function movePostsDown(posts) {
_.each(posts, function(post) { _.each(posts.reverse(), function(post) {
var $row = post.$tableRow; var $row = post.$tableRow;
$row.insertAfter($row.next('tr:not(.selected)')); $row.insertAfter($row.next('tr:not(.selected)'));
}); });