public/beta.js
//Find and Store ID's
Find and Store ID's
Find and Store ID ' s
function store_project_id(projectTitleArg) {
    $.getJSON(client_home_url)
        .then(account_data => {
            for (let i = 0; i < account_data.projects.length; i++) {
                if (projectTitleArg == account_data.projects[i].projectTitle) {
                    selected_storage.projectId = account_data.projects[i]._id;
                    selected_storage.projectTitle = account_data.projects[i].projectTitle;
                    client_post_sub_project_url = change_url(`client_pages/subProject/${selected_storage.projectId}`);
                }
            }
        });
}
function store_project_id ( projectTitleArg ) { $ . getJSON ( client_home_url ) . then ( account_data => { for ( let i = 0 ; i < account_data . projects . length ; i ++ ) { if ( projectTitleArg == account_data . projects [ i ] . projectTitle ) { selected_storage . projectId = account_data . projects [ i ] . _id ; selected_storage . projectTitle = account_data . projects [ i ] . projectTitle ; client_post_sub_project_url = change_url ( ` ${ selected_storage . projectId } ` ) ; } } } ) ; }
Find and Store ID's
Find and Store ID ' s