Skip to content

Change of target branch in created pull request is not displayed #11830

@lakostin

Description

@lakostin
  • Gitea version (or commit ref):
    1.12.0+dev-268-g505e456f2

  • Git version:
    2.17.1

  • Operating system:
    Ubuntu 18.04.3 LTS

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

In opened pull request i want to change target branch from master to another:

Screenshot from 2020-06-10 14-47-55

I press edit and choose another branch:

Screenshot from 2020-06-10 14-48-05

After i pressed save, nothing changed visually:

Screenshot from 2020-06-10 14-48-20

and in console i got an error:
index.js:822 Uncaught TypeError: $.post(...).success is not a function
at e (index.js:822)
at HTMLDivElement. (index.js:832)
at HTMLDivElement.dispatch (jquery.js?v=1d135a86e5595bfe682bc921cd4eae49:1)
at HTMLDivElement.v.handle (jquery.js?v=1d135a86e5595bfe682bc921cd4eae49:1)
e @ index.js?v=1d135a86e5595bfe682bc921cd4eae49:1
(anonymous) @ index.js?v=1d135a86e5595bfe682bc921cd4eae49:1
dispatch @ jquery.js?v=1d135a86e5595bfe682bc921cd4eae49:1
v.handle @ jquery.js?v=1d135a86e5595bfe682bc921cd4eae49:1

Changes appear only if i press any other tab (commits or files changed)
Screenshot from 2020-06-10 14-49-05

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions