function openJIRAStudioGitHubNavigation(A){AJS.$("#menu_section_github").parent().addClass("studio-admin-menu-section-selected");
AJS.$("#menu_section_github").parent().children("ul").css("display","block");
AJS.$("#menu_section_github").parent().children("a").first().addClass("studio-admin-menu-section-hide").removeClass("studio-admin-menu-section-show");
AJS.$("#"+A).parent().addClass("studio-admin-menu-item-selected")
}window.onload=function(){if(AJS.$("#gh_messages").size()>0){forceSync(url,projectKey)
}if(document.location.href.indexOf("GitHubConfigureRepositories")>-1){openJIRAStudioGitHubNavigation("menu_item_github_bulk_repo")
}else{if(document.location.href.indexOf("ConfigureGlobalSettings")>-1){openJIRAStudioGitHubNavigation("menu_item_github_global")
}}};
function confirmation(A){var B=confirm("Are you sure you want to remove this repository?");
if(B){window.location=A
}}function toggleMoreFiles(A){AJS.$("#"+A).toggle();
AJS.$("#see_more_"+A).toggle();
AJS.$("#hide_more_"+A).toggle()
};

