diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -71,7 +71,7 @@
-
${len(cs.affected_files)}
+
${len(cs.affected_files)}
%if len(c.comments.get(cs.raw_id,[])) > 0:
@@ -201,9 +201,9 @@ // Fetch changeset details YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){ - var id = e.currentTarget.id - var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}" - var url = url.replace('__CS__',id); + var id = e.currentTarget.id; + var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}"; + var url = url.replace('__CS__',id.replace('changed_total_','')); ypjax(url,id,function(){tooltip_activate()}); });