Merge branch 'dev-v7.8' into temp-U4-10707

# Conflicts:
#	src/Umbraco.Web/Editors/TourController.cs
#	src/Umbraco.Web/Umbraco.Web.csproj
This commit is contained in:
Claus
2018-01-10 10:10:19 +01:00
23 changed files with 277 additions and 75 deletions

View File

@@ -20,7 +20,7 @@
tours = [];
return tourResource.getTours().then(function(tourFiles) {
angular.forEach(tourFiles, function (tourFile) {
angular.forEach(tourFile, function(newTour) {
angular.forEach(tourFile.tours, function(newTour) {
validateTour(newTour);
validateTourRegistration(newTour);
tours.push(newTour);

View File

@@ -22,6 +22,8 @@ angular.module("umbraco").controller("Umbraco.Overlays.LinkPickerController",
selectedSearchResults: []
};
$scope.showTarget = $scope.model.hideTarget !== true;
if (dialogOptions.currentTarget) {
$scope.model.target = dialogOptions.currentTarget;

View File

@@ -18,7 +18,7 @@
ng-model="model.target.name" />
</umb-control-group>
<umb-control-group label="@content_target">
<umb-control-group ng-if="showTarget" label="@content_target">
<label class="checkbox no-indent">
<input type="checkbox" ng-model="model.target.target" ng-true-value="_blank" ng-false-value="" /> <localize key="defaultdialogs_openInNewWindow">Opens the linked document in a new window or tab</localize>
</label>