From 949378f63fef3a03454508c91e6699765e2c6262 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Tue, 29 Oct 2024 00:04:53 +0530 Subject: [PATCH] fix: do not open MFE editors automatically on block paste (#35728) --- .../contentstore/xblock_storage_handlers/view_handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py index df8d8dc6251f..3b9ba5798a01 100644 --- a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py +++ b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py @@ -558,6 +558,7 @@ def _create_block(request): "locator": str(created_xblock.location), "courseKey": str(created_xblock.location.course_key), "static_file_notices": asdict(notices), + "upstreamRef": str(created_xblock.upstream), }) category = request.json["category"]