From c6ce37d537a3f0ebaa4892b008912976ad3cfd2f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 9 Nov 2014 20:14:21 +0100 Subject: [PATCH] Fixed moving multiple posts down in post upload --- public_html/js/Presenters/PostUploadPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/PostUploadPresenter.js b/public_html/js/Presenters/PostUploadPresenter.js index cf4782c5..5b3cfe9b 100644 --- a/public_html/js/Presenters/PostUploadPresenter.js +++ b/public_html/js/Presenters/PostUploadPresenter.js @@ -527,7 +527,7 @@ App.Presenters.PostUploadPresenter = function( } function movePostsDown(posts) { - _.each(posts, function(post) { + _.each(posts.reverse(), function(post) { var $row = post.$tableRow; $row.insertAfter($row.next('tr:not(.selected)')); });