mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 15:03:12 +01:00
fix: client-side handling of category selector when cross-posting so only local cids are sent to backend
This commit is contained in:
@@ -49,7 +49,7 @@ define('forum/topic/crosspost', [
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onCategoriesSelected(data) {
|
function onCategoriesSelected(data) {
|
||||||
({ selectedCids } = data);
|
selectedCids = data.selectedCids.filter(utils.isNumber);
|
||||||
if (data.changed) {
|
if (data.changed) {
|
||||||
modal.find('#crosspost_thread_commit').prop('disabled', false);
|
modal.find('#crosspost_thread_commit').prop('disabled', false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user