This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git

commit 281c06e8891d83ae14c86372d41d9ff843325207
Author: Dan Klco <[email protected]>
AuthorDate: Thu May 24 22:06:31 2018 -0400

    Updating to make folder creation not require a name
---
 .../resources/jcr_root/libs/sling-cms/content/folder/create.json | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 
a/cms/ui/src/main/resources/jcr_root/libs/sling-cms/content/folder/create.json 
b/cms/ui/src/main/resources/jcr_root/libs/sling-cms/content/folder/create.json
index e4d60b6..73a0458 100644
--- 
a/cms/ui/src/main/resources/jcr_root/libs/sling-cms/content/folder/create.json
+++ 
b/cms/ui/src/main/resources/jcr_root/libs/sling-cms/content/folder/create.json
@@ -32,8 +32,13 @@
                                                "jcr:primaryType": 
"nt:unstructured",
                                                "sling:resourceType": 
"sling-cms/components/editor/fields/text",
                                                "label": "Name",
-                                               "name": ":name",
-                                               "required": true
+                                               "name": ":name"
+                                       },
+                                       "nameParam": {
+                                               "jcr:primaryType": 
"nt:unstructured",
+                                               "sling:resourceType": 
"sling-cms/components/editor/fields/hidden",
+                                               "name": ":nameParam",
+                                               "value":"jcr:content/jcr:title"
                                        },
                                        "primaryType": {
                                                "jcr:primaryType": 
"nt:unstructured",

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to