##// END OF EJS Templates
fixed issue #719 Journal revision ID tooltip AJAX query path is incorrect when running in a subdir
marcink -
r3160:5d7f6b22 beta
parent child Browse files
Show More
@@ -334,7 +334,7 b' var show_changeset_tooltip = function(){'
334 YUD.setAttribute(target, 'title',_TM['loading...']);
334 YUD.setAttribute(target, 'title',_TM['loading...']);
335 YAHOO.yuitip.main.set_listeners(target);
335 YAHOO.yuitip.main.set_listeners(target);
336 YAHOO.yuitip.main.show_yuitip(e, target);
336 YAHOO.yuitip.main.show_yuitip(e, target);
337 ajaxGET('/changeset_info/{0}/{1}'.format(repo_name,rid), success)
337 ajaxGET(LAZY_CS_URL.replace('__NAME__',repo_name).replace('__REV__', rid), success)
338 }
338 }
339 });
339 });
340 };
340 };
@@ -54,6 +54,7 b''
54 };
54 };
55 var _TM = TRANSLATION_MAP;
55 var _TM = TRANSLATION_MAP;
56 var TOGGLE_FOLLOW_URL = "${h.url('toggle_following')}";
56 var TOGGLE_FOLLOW_URL = "${h.url('toggle_following')}";
57 var LAZY_CS_URL = "${h.url('changeset_info', repo_name='__NAME__', revision='__REV__')}"
57 </script>
58 </script>
58 <script type="text/javascript" src="${h.url('/js/yui.2.9.js', ver=c.rhodecode_version)}"></script>
59 <script type="text/javascript" src="${h.url('/js/yui.2.9.js', ver=c.rhodecode_version)}"></script>
59 <!--[if lt IE 9]>
60 <!--[if lt IE 9]>
General Comments 0
You need to be logged in to leave comments. Login now