Skip to content

Commit

Permalink
#98 closed: "Incorrect links at export links"
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 1, 2011
1 parent 764d70f commit d0e8e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/scala/tools/colladoc/page/Template.scala
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ class Template(tpl: DocTemplateEntity) extends tools.nsc.doc.html.page.Template(
case cmt: Comment => pars ::= "rev=%s" format(cmt.dateTime.is.getTime)
case _ =>
}
val abs = "/" + mbr.uniqueName.replace(".", "/").replace("#", "$")
val abs = relativeLinkTo(List(mbr.uniqueName.replace(".", "/").replace("#", "$")))
val path = abs + ".xml" + pars.mkString("?", "&", "")
JsRaw("window.open('%s', 'Export')" format (path))
}
Expand Down

0 comments on commit d0e8e04

Please sign in to comment.