From 65d94a3b6d51f4350e3fb28c85c6633f1a626693 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 8 Sep 2020 21:35:20 -0400 Subject: [PATCH] fix: #8629 and change undo timeout to 10 seconds --- public/src/client/topic/move.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/src/client/topic/move.js b/public/src/client/topic/move.js index 742f624496..9474be59a0 100644 --- a/public/src/client/topic/move.js +++ b/public/src/client/topic/move.js @@ -65,7 +65,7 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel title: '[[topic:thread_tools.move]]', message: '[[topic:topic_move_success, ' + selectedCategory.name + ']]', type: 'success', - timeout: 5000, + timeout: 10000, timeoutfn: function () { moveTopics(); }, @@ -91,7 +91,6 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel return app.alertError(err.message); } - app.alertSuccess('[[topic:topic_move_success, ' + selectedCategory.name + ']]'); if (typeof Move.onComplete === 'function') { Move.onComplete(); }