Move relative_path to the element that is being clicked
What does this MR do?
It fixes creating a new issue from the issues dashboard.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
The js code was moved from the view to the js file and relative_path
was not available to the js code (https://gitlab.com/gitlab-org/gitlab-ce/commit/08a0af9f#b3546fb7f552567b4ba4fc527f5cdecfd07c432e_5_4)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #35474 (closed)