Skip to content

Use ajax for Reference in New Issue #26427

Closed
@yp05327

Description

@yp05327

Description

We are using form post when during the request of Reference in New Issue.

<form class="ui form" action="{{printf "%s/issues/new" .Repository.Link}}" method="post">

But since #25258, we are going to use json response in the backend. so frontend should also make some changes or you will get this:
image

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions