app/js/tree_logic.js
// Replaces path of node and renders page
Replaces path of node and renders page
Replaces path of node and renders page
function replaceFilePath(node, newPath) {
    updateNode(node, "path", newPath);
    renderPage(node);
    /*$('#' + currentWorkspace + '_tree').tree(
        'updateNode',
        node,
        {
            path: newPath
        }
    );
    // Writes to tree file
    treeToJson(currentWorkspace);
    renderPage(node);
    // Writes to tree backup file
    treeToBackupJson(currentWorkspace);
    // Adds tooltip logic to tree (when first making the tree in this case)
    addTreeTooltips(currentWorkspace);*/
}
function replaceFilePath ( node , newPath ) { updateNode ( node , "path" , newPath ) ; renderPage ( node ) ; }
Replaces path of node and renders page
Replaces path of node and renders page
// TEMPORARY UNTIL INDEXES ON NODES // Renders page /*$('#' + currentWorkspace + '_tree').tree(
        'updateNode',
        node,
        {
            path: newPath
        }
    );
    // Writes to tree file
    treeToJson(currentWorkspace);
    // Renders page
    renderPage(node);
    // Writes to tree backup file
    treeToBackupJson(currentWorkspace);
    // Adds tooltip logic to tree (when first making the tree in this case)
    addTreeTooltips(currentWorkspace);*/