Skip to content
Browse files

Bug fix.

 - Specify TortoiseSVN action correctly.
  • Loading branch information...
1 parent 52a0398 commit d85c779a848f87825cc4077123617c71f8264323 @masamitsu-murase committed Dec 28, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 assets/javascripts/add_repository_link.js
View
8 assets/javascripts/add_repository_link.js
@@ -53,9 +53,13 @@ var gAddSubversionLinksFuncs = (function(){
};
var createRepositoryLinkElement = function(info, path, revision){
- var param = { href: info.svn_root_url + "/" + path, "class": "add_subversion_links_link" };
+ var param = {
+ href: info.svn_root_url + "/" + path,
+ "class": "add_subversion_links_link",
+ rel: "tsvn[log]"
+ };
if (revision){
- param.rel = "tsvn[browser][" + revision + "]";
+ param.rel += "[" + revision + "," + revision + "]";
param.href += "?" + Object.toQueryString({ p: revision });
}
var elem = new Element("a", param);

0 comments on commit d85c779

Please sign in to comment.
Something went wrong with that request. Please try again.