changeset 3992:c1a1f05e680f

removed encodeURIComponent, on url generation. pyroutes internally do this so double escaping caused issues with branch switcher
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 12 Jun 2013 20:02:01 +0200
parents 68abb78a3d2f
children b53cef6faf22
files rhodecode/templates/changelog/changelog.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/changelog/changelog.html	Wed Jun 12 19:47:38 2013 +0200
+++ b/rhodecode/templates/changelog/changelog.html	Wed Jun 12 20:02:01 2013 +0200
@@ -255,7 +255,7 @@
                     var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value;
                     if(selected_branch != ''){
                         window.location = pyroutes.url('changelog_home', {'repo_name': '${c.repo_name}',
-                                                                          'branch':encodeURIComponent(selected_branch)});
+                                                                          'branch':selected_branch});
                     }else{
                         window.location = pyroutes.url('changelog_home', {'repo_name': '${c.repo_name}'});
                     }