From ee1ac1b2c39b556fe16c083eb7e506eb6dabb4b8 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Fri, 10 Jan 2014 14:11:55 -0500 Subject: [PATCH] fixes post move --- public/src/forum/topic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index 799451d60a..6c20ea3e06 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -469,7 +469,7 @@ define(['composer'], function(composer) { var moveModal = $('#move-post-modal'), moveBtn = moveModal.find('#move_post_commit'), topicId = moveModal.find('#topicId'), - post = $(this), + post = $(this).parents('li'), pid = $(this).parents('li').attr('data-pid'); moveModal.removeClass('hide');