##// END OF EJS Templates
fixed changed details helper
marcink -
r2744:94886e84 beta
parent child Browse files
Show More
@@ -71,7 +71,7 b''
71 71 </div>
72 72 <div class="right">
73 73 <div class="changes">
74 <div id="${cs.raw_id}" style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">${len(cs.affected_files)}</div>
74 <div id="changed_total_${cs.raw_id}" style="float:right;" class="changed_total tooltip" title="${h.tooltip(_('Affected number of files, click to show more details'))}">${len(cs.affected_files)}</div>
75 75 <div class="comments-container">
76 76 %if len(c.comments.get(cs.raw_id,[])) > 0:
77 77 <div class="comments-cnt" title="${('comments')}">
@@ -201,9 +201,9 b''
201 201
202 202 // Fetch changeset details
203 203 YUE.on(YUD.getElementsByClassName('changed_total'),'click',function(e){
204 var id = e.currentTarget.id
205 var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}"
206 var url = url.replace('__CS__',id);
204 var id = e.currentTarget.id;
205 var url = "${h.url('changelog_details',repo_name=c.repo_name,cs='__CS__')}";
206 var url = url.replace('__CS__',id.replace('changed_total_',''));
207 207 ypjax(url,id,function(){tooltip_activate()});
208 208 });
209 209
General Comments 0
You need to be logged in to leave comments. Login now