From f402d7271a4338b2ea344f13222b630f589bed83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 7 Oct 2019 16:51:36 -0400 Subject: [PATCH] fix: move post and change owner --- public/src/client/topic/change-owner.js | 2 +- public/src/client/topic/move-post.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/client/topic/change-owner.js b/public/src/client/topic/change-owner.js index 094ef8c969..9778ec232e 100644 --- a/public/src/client/topic/change-owner.js +++ b/public/src/client/topic/change-owner.js @@ -30,7 +30,7 @@ define('forum/topic/change-owner', [ showPostsSelected(); if (postEl) { - postSelect.togglePostSelection(postEl, onPostToggled); + postSelect.togglePostSelection(postEl, postEl.attr('data-pid')); } commit.on('click', function () { diff --git a/public/src/client/topic/move-post.js b/public/src/client/topic/move-post.js index 50745b6edc..dd807f0e4f 100644 --- a/public/src/client/topic/move-post.js +++ b/public/src/client/topic/move-post.js @@ -24,7 +24,7 @@ define('forum/topic/move-post', ['components', 'postSelect'], function (componen showPostsSelected(); if (postEl) { - postSelect.togglePostSelection(postEl, onPostToggled); + postSelect.togglePostSelection(postEl, postEl.attr('data-pid')); } moveCommit.on('click', function () {