You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/src/content/jcr_root/apps/core/wcm/components/contentfragmentlist/v1/contentfragmentlist/clientlibs/editor/js/contentfragmentlist.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
29
29
/**
30
30
* @param {String} path - resource path or URL as stored on the dialog field (cmp-field-path)
31
-
* @returns {Boolean} true if resolving the path yields a same-origin URL suitable for datasource requests
31
+
* @returns {Boolean} true if the path resolves to a URL on the current page origin
32
32
*/
33
33
functionisSameOriginDatasourcePath(path){
34
34
if(path===undefined||path===null){
@@ -52,7 +52,7 @@
52
52
}
53
53
54
54
/**
55
-
* Parses HTML returned by a trusted same-origin datasource.
55
+
* Parses HTML from a datasource response.
56
56
*
57
57
* @param {String} html - response body
58
58
* @returns {Document} parsed document
@@ -62,10 +62,10 @@
62
62
}
63
63
64
64
/**
65
-
* Extracts inner markup to mirror prior jQuery(html)[0].innerHTML behavior for a single root under body.
65
+
* Returns the inner HTML of the first child of the parsed document body.
66
66
*
67
67
* @param {String} html - response body
68
-
* @returns {String} HTML to assign to the element names container
68
+
* @returns {String} markup for the element names container
69
69
*/
70
70
functiongetInnerHtmlFromDatasourceResponse(html){
71
71
vardoc=parseDatasourceDocument(html);
@@ -275,7 +275,7 @@
275
275
/**
276
276
* Replaces the html of orderBy select item.
277
277
*
278
-
* @param {Element} orderByNode - coral-select markup for orderBy from a parsed datasource response
278
+
* @param {Element} orderByNode - coral-select element to insert
0 commit comments