Show More
@@ -244,7 +244,7 b'' | |||
|
244 | 244 | var selected_branch = e.currentTarget.options[e.currentTarget.selectedIndex].value; |
|
245 | 245 | var url_main = "${h.url('changelog_home',repo_name=c.repo_name)}"; |
|
246 | 246 | var url = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}"; |
|
247 | var url = url.replace('__BRANCH__',selected_branch); | |
|
247 | var url = url.replace('__BRANCH__', encodeURIComponent(selected_branch)); | |
|
248 | 248 | if(selected_branch != ''){ |
|
249 | 249 | window.location = url; |
|
250 | 250 | }else{ |
General Comments 0
You need to be logged in to leave comments.
Login now