fix: move post and change owner

This commit is contained in:
Barış Soner Uşaklı
2019-10-07 16:51:36 -04:00
parent b19f0a686c
commit f402d7271a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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