From 87d1295446266cc23617afca978a9948fbf9c257 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 3 Sep 2015 10:52:40 -0300 Subject: [PATCH] [Colab] Fixes reload_processing.js.erb for relative_url_root --- app/views/repositories/reload_processing.js.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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