Skip to content

relative path in javascript #2

@cforce

Description

@cforce

Ur javascript has a line
"entryitem.setAttribute("href", "/redmine/issues/" + entry.ID);"

which does the link to the issue. The problem is that we don't have redmine installed in this suburi.
For us the correct base path is
"entryitem.setAttribute("href", "/issues/" + entry.ID);"

Isntead of fixing this hard coded, maybe it is possible to get base url by anaylzing the http request or retrieve redmine parameter base url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions