* Always render full file path because sources may be scattered in different repositories.
This commit is contained in:
parent
f1b50186fb
commit
c632c8f8bd
1 changed files with 2 additions and 5 deletions
|
@ -57,11 +57,8 @@ function renderLinkTag (param) {
|
||||||
*/
|
*/
|
||||||
function renderLocation (docEl, param) {
|
function renderLocation (docEl, param) {
|
||||||
var f = docEl.getLocation ();
|
var f = docEl.getLocation ();
|
||||||
if (f.isDirectory ())
|
// with repositories, always display full file path
|
||||||
return f.getName ();
|
return f.getAbsolutePath();
|
||||||
else {
|
|
||||||
return f.getParentFile ().getName () + "/" + f.getName ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue