Skip to content

Commit

Permalink
slight changes about threadtools.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ilong4rennes committed Sep 23, 2024
1 parent 4877bc7 commit fb73edc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/src/client/topic/threadTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ define('forum/topic/threadTools', [
// });
// });

topicContainer.on('click', '[component="topic/resolve"]', function () {
topicCommand('put', '/resolve', 'resolve', function() {
alerts.success('[[topic:thread-tools.resolve-success]]');
ajaxify.refresh();
});
return false;
});
// topicContainer.on('click', '[component="topic/resolve"]', function () {
// topicCommand('put', '/resolve', 'resolve', function() {
// alerts.success('[[topic:thread-tools.resolve-success]]');
// ajaxify.refresh();
// });
// return false;
// });

topicContainer.on('click', '[component="topic/move-posts"]', function () {
require(['forum/topic/move-post'], function (movePosts) {
Expand Down

0 comments on commit fb73edc

Please sign in to comment.