From 788c092d3e3511bd23bdecca11c6617f3ff49d50 Mon Sep 17 00:00:00 2001 From: XnpioChV Date: Wed, 5 Apr 2023 16:10:30 -0500 Subject: [PATCH] chore: Navigation to the video gallery updated --- cms/static/js/views/pages/container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/static/js/views/pages/container.js b/cms/static/js/views/pages/container.js index 260c143f36..07f4f18b92 100644 --- a/cms/static/js/views/pages/container.js +++ b/cms/static/js/views/pages/container.js @@ -468,7 +468,7 @@ function($, _, Backbone, gettext, BasePage, ViewUtils, ContainerView, XBlockView ){ var destinationUrl; if (useVideoGalleryFlow === "True" && blockType.includes("video")) { - destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/videos'; + destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/course-videos/' + encodeURI(data.locator); } else { destinationUrl = this.$('.xblock-header-primary').attr("authoring_MFE_base_url") + '/' + blockType[1] + '/' + encodeURI(data.locator);