[go: up one dir, main page]

CI Links: Don't use unobtrusive javascript (jQuery UJS) to make post requests

As we can see in this comment https://gitlab.com/gitlab-org/gitlab-ce/issues/23022#note_18863958

all CI links use unobtrusive javascript (jQuery UJS) to make post requests.

We should be making a clear post request with javascript instead of creating this links: <a data-method="post" rel="nofollow" href=""></a>

By transforming this links to buttons that make a post request to the backend we can avoid errors like https://gitlab.com/gitlab-org/gitlab-ce/issues/20450