diff --git a/app/views/repositories/reload_processing.js.erb b/app/views/repositories/reload_processing.js.erb index 917b595..238f451 100644 --- a/app/views/repositories/reload_processing.js.erb +++ b/app/views/repositories/reload_processing.js.erb @@ -1,9 +1,9 @@ current_path_splited = window.location.pathname.split("/"); if(current_path_splited[1] != "repositories"){ - current_path_splited.splice(1,1); // Removes the locale + current_path_splited.splice(1,1); // Removes the relative_url_root } -if(current_path_splited[1] != "projects"){ - current_path_splited.splice(1,1); // Removes the subdirectory +if(current_path_splited[1] != "repositories"){ + current_path_splited.splice(1,1); // Removes the locale } current_path = current_path_splited.join("/"); -- libgit2 0.21.2