mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #8629 and change undo timeout to 10 seconds
This commit is contained in:
@@ -65,7 +65,7 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel
|
|||||||
title: '[[topic:thread_tools.move]]',
|
title: '[[topic:thread_tools.move]]',
|
||||||
message: '[[topic:topic_move_success, ' + selectedCategory.name + ']]',
|
message: '[[topic:topic_move_success, ' + selectedCategory.name + ']]',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
timeout: 5000,
|
timeout: 10000,
|
||||||
timeoutfn: function () {
|
timeoutfn: function () {
|
||||||
moveTopics();
|
moveTopics();
|
||||||
},
|
},
|
||||||
@@ -91,7 +91,6 @@ define('forum/topic/move', ['categorySelector', 'alerts'], function (categorySel
|
|||||||
return app.alertError(err.message);
|
return app.alertError(err.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
app.alertSuccess('[[topic:topic_move_success, ' + selectedCategory.name + ']]');
|
|
||||||
if (typeof Move.onComplete === 'function') {
|
if (typeof Move.onComplete === 'function') {
|
||||||
Move.onComplete();
|
Move.onComplete();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user