Changeset - c1a1f05e680f
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 12 years ago 2013-06-12 20:02:01
marcin@python-works.com
removed encodeURIComponent, on url generation.
pyroutes internally do this so double escaping caused issues with
branch switcher
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -255,7 +255,7 @@ ${self.repo_context_bar('changelog')}
 
                    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}'});
 
                    }
0 comments (0 inline, 0 general)