Skip to content

Commit

Permalink
Merge branch 'patch-8.0.1' into v8/8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan committed Mar 30, 2019
2 parents dfe6f20 + 44cb5fd commit 1eb55a8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/NuSpecs/UmbracoCms.Core.nuspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.6.0">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms.Core</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/UmbracoCms.Web.nuspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.6.0">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms.Web</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
Expand Down
2 changes: 1 addition & 1 deletion build/NuSpecs/UmbracoCms.nuspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.6.0">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms</id>
<version>8.0.0</version>
<title>Umbraco Cms</title>
Expand Down
7 changes: 6 additions & 1 deletion src/Umbraco.Web.UI.Client/src/preview/preview.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ var app = angular.module("umbraco.preview", ['umbraco.resources', 'umbraco.servi
$scope.exitPreview = function () {

var culture = $location.search().culture || getParameterByName("culture");
var relativeUrl = "/" + $scope.pageId +'?culture='+ culture;
var relativeUrl = "/" + $scope.pageId;

if(culture){
relativeUrl +='?culture='+ culture;
}

window.top.location.href = "../preview/end?redir=" + encodeURIComponent(relativeUrl);
};

Expand Down

0 comments on commit 1eb55a8

Please sign in to comment.