Skip to content

Commit f30e6cf

Browse files
authored
Prevents folder selection in media picker when used from the multi URL picker. (#18288)
1 parent 026e80e commit f30e6cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/linkpicker/linkpicker.controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ angular.module("umbraco").controller("Umbraco.Editors.LinkPickerController",
189189
startNodeId: startNodeId,
190190
startNodeIsVirtual: startNodeIsVirtual,
191191
dataTypeKey: dialogOptions.dataTypeKey,
192+
disableFolderSelect: true,
192193
submit: function (model) {
193194
var media = model.selection[0];
194195

0 commit comments

Comments
 (0)