Merge branch origin/dev-v7.8 into temp-U4-10789

This commit is contained in:
Stephan
2018-01-09 09:05:51 +01:00
3 changed files with 14 additions and 17 deletions

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>