From 7c93b8f157c12762aea0bcdc335b4c40c357adb1 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Tue, 30 Jul 2019 20:25:11 +0200 Subject: [PATCH] Use mculture in content editor for multilingual content (cherry picked from commit 2f84e769528c4d38e4cbf9eba769943378f260d6) --- .../src/views/content/content.edit.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/content/content.edit.controller.js b/src/Umbraco.Web.UI.Client/src/views/content/content.edit.controller.js index 5cbf25ba7d..44babcec19 100644 --- a/src/Umbraco.Web.UI.Client/src/views/content/content.edit.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/content/content.edit.controller.js @@ -24,7 +24,7 @@ function ContentEditController($scope, $routeParams, contentResource) { $scope.page = $routeParams.page; $scope.isNew = infiniteMode ? $scope.model.create : $routeParams.create; //load the default culture selected in the main tree if any - $scope.culture = $routeParams.cculture ? $routeParams.cculture : ($routeParams.mculture === "true"); + $scope.culture = $routeParams.cculture ? $routeParams.cculture : $routeParams.mculture; //Bind to $routeUpdate which will execute anytime a location changes but the route is not triggered. //This is so we can listen to changes on the cculture parameter since that will not cause a route change