Commit f0793ce12fbe595ccccdf33a8ca2ef4dbaac3ad8
Committed by
Diego Camarinha
1 parent
2444eaad
[Colab] Fixes reload_processing.js.erb for relative_url_root
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/repositories/reload_processing.js.erb
| 1 | 1 | current_path_splited = window.location.pathname.split("/"); |
| 2 | 2 | if(current_path_splited[1] != "repositories"){ |
| 3 | - current_path_splited.splice(1,1); // Removes the locale | |
| 3 | + current_path_splited.splice(1,1); // Removes the relative_url_root | |
| 4 | 4 | } |
| 5 | -if(current_path_splited[1] != "projects"){ | |
| 6 | - current_path_splited.splice(1,1); // Removes the subdirectory | |
| 5 | +if(current_path_splited[1] != "repositories"){ | |
| 6 | + current_path_splited.splice(1,1); // Removes the locale | |
| 7 | 7 | } |
| 8 | 8 | current_path = current_path_splited.join("/"); |
| 9 | 9 | ... | ... |