mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-18 05:22:48 +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) {
|
||||
({ selectedCids } = data);
|
||||
selectedCids = data.selectedCids.filter(utils.isNumber);
|
||||
if (data.changed) {
|
||||
modal.find('#crosspost_thread_commit').prop('disabled', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user