diff --git a/web/static/main_browse_tab.js b/web/static/main_browse_tab.js index 2af3cbafd..2ea8fc136 100644 --- a/web/static/main_browse_tab.js +++ b/web/static/main_browse_tab.js @@ -2079,18 +2079,19 @@ function treeSelectRange(a_tree, a_node) { } /** - * @brief Check if pasting is allowed to the specified node. + * @function + * Check if pasting is allowed to the specified node. * * This function checks whether a paste operation is allowed based on various conditions, * such as whether the destination node is valid, whether the source and destination nodes * belong to the same scope, and other restrictions like node types and parent-child relationships. * - * @param {Object} dest_node - The candidate destination node where the paste operation is being attempted. - * @param {Object} src_node - The node being dragged or copied to the destination. + * @param {object} dest_node - The candidate destination node where the paste operation is being attempted. + * @param {object} src_node - The node being dragged or copied to the destination. * * @returns {string|boolean} Returns "over" if the paste is allowed, otherwise returns `false`. * - * @note There is additional source information in the pasteSourceParent and pasteCollections variables. + * There is additional source information in the pasteSourceParent and pasteCollections variables. */ function pasteAllowed(dest_node, src_node) { //console.log("pasteAllowed:",dest_node, src_node); diff --git a/web/static/util.js b/web/static/util.js index c55c92b19..b1dfa4cf1 100644 --- a/web/static/util.js +++ b/web/static/util.js @@ -778,8 +778,8 @@ export function dataGet(a_ids, a_cb) { * @param {UUID} client_id - The UUID of the Globus authentication client. * @param {string} redirect_uri - The URI-safe application-wide Globus Auth redirect URI. * @param {Array} [requested_scopes=[]] - The scopes on the token(s) being requested. - * In the case of accessing a mapped collection, this should include the mapped - * collection's UUID, such as: `https://auth.globus.org/scopes/YOUR-UUID-HERE/data_access`. + * In the case of accessing a mapped collection, this should include the mapped + * collection's UUID, such as: `https://auth.globus.org/scopes/YOUR-UUID-HERE/data_access`. * @param {string} [state="_default"] - Allows the application to pass information back to itself. * @param {boolean} [refresh_tokens=false] - Request refresh tokens in addition to access tokens. * @param {object} [query_params={}] - Additional parameters to be included in the authorization URL.