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 () {