diff --git a/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js b/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js
index 6970a7ba36..fe9ae4ebf9 100644
--- a/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js
@@ -13,6 +13,8 @@ function contentCreateController($scope,
$location,
navigationService,
blueprintConfig) {
+
+ var mainCulture = $routeParams.mculture ? $routeParams.mculture : null;
function initialize() {
contentTypeResource.getAllowedTypes($scope.currentNode.id).then(function (data) {
@@ -32,7 +34,10 @@ function contentCreateController($scope,
$location
.path("/content/content/edit/" + $scope.currentNode.id)
.search("doctype", docType.alias)
- .search("create", "true");
+ .search("create", "true")
+ /* when we create a new node we want to make sure it uses the same
+ language as what is selected in the tree */
+ .search("cculture", mainCulture);
close();
}
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 bb7f198a36..cc55fbbf4d 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
@@ -30,7 +30,7 @@ function ContentEditController($scope, $rootScope, $routeParams, contentResource
//This is so we can listen to changes on the cculture parameter since that will not cause a route change
// and then we can pass in the updated culture to the editor
$scope.$on('$routeUpdate', function (event, next) {
- $scope.culture = next.params.cculture;
+ $scope.culture = next.params.cculture ? next.params.cculture : $routeParams.mculture;
});
}
diff --git a/src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html b/src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
index b49046feac..72565f6f71 100644
--- a/src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
+++ b/src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
@@ -18,7 +18,6 @@
type="checkbox"
ng-model="variant.publish"
ng-change="vm.changeSelection(variant)"
- ng-disabled="variant.active === true"
style="margin-right: 8px;"
val-server-field="{{variant.htmlId}}" />
@@ -27,7 +26,7 @@
*
-
+
@@ -35,6 +34,10 @@
{{publishVariantSelectorForm.publishVariantSelector.errorMsg}}
+
+
{{notification.message}}
+
+
@@ -54,7 +57,15 @@