fixes post move

This commit is contained in:
Baris Soner Usakli
2014-01-10 14:11:55 -05:00
parent 92ca739002
commit ee1ac1b2c3

View File

@@ -469,7 +469,7 @@ define(['composer'], function(composer) {
var moveModal = $('#move-post-modal'), var moveModal = $('#move-post-modal'),
moveBtn = moveModal.find('#move_post_commit'), moveBtn = moveModal.find('#move_post_commit'),
topicId = moveModal.find('#topicId'), topicId = moveModal.find('#topicId'),
post = $(this), post = $(this).parents('li'),
pid = $(this).parents('li').attr('data-pid'); pid = $(this).parents('li').attr('data-pid');
moveModal.removeClass('hide'); moveModal.removeClass('hide');