Skip to content

Commit

Permalink
[dialog pickers] use specific node types instead of nt:base
Browse files Browse the repository at this point in the history
- dialog picker of the edit dialog for the Image, PDF Viewer and Content Fragment List components use specific node types
  • Loading branch information
jckautzmann authored Feb 3, 2021
1 parent 0c54bba commit df67062
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldDescription="Path under which the Content Fragments are located."
fieldLabel="Parent Path"
nodeTypes="nt:folder, sling:Folder, sling:OrderedFolder"
name="./parentPath"
rootPath="/content/dam"/>
<tags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldDescription="Make the image a link to another resource."
fieldLabel="Link"
nodeTypes="dam:Asset, nt:file, nt:resource, cq:Page"
name="./linkURL"
rootPath="/content"
wrapperClass="cmp-image--editor-link"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldDescription="Make the image a link to another resource."
fieldLabel="Link"
nodeTypes="dam:Asset, nt:file, nt:resource, cq:Page"
name="./linkURL"
rootPath="/content"
wrapperClass="cmp-image__editor-link"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldDescription="Path of Document."
fieldLabel="Document Path"
nodeTypes="dam:Asset, nt:file, nt:resource"
name="./documentPath"
required="{Boolean}true"
rootPath="/content/dam"/>
Expand Down

0 comments on commit df67062

Please sign in to comment.