Skip to content

Overview action buttons disabled after editing short URL & saving & editing again #2925

@stewil87

Description

@stewil87
  • [x ] I've read the Troubleshooting First Steps
  • [x ] This request isn't a duplicate of an existing issue, opened or closed
  • [x ] I've read the docs and followed them (if applicable)
  • [x ] This is not a personal support request, that should be posted on discussions community

Describe the bug

After some editing, the action buttons stay disabled.

To Reproduce

  1. Install a fresh YOURLS version from Github. Setup. Login
  2. Click on action 'edit' from one of the example links
  3. Change for example 'short URL' and hit 'save'
  4. Click on action 'edit' again
  5. Now just click on cancel
  6. the actions buttons for that link are still disabled

Expected behavior
After 4: the Action buttons should be usable again

Actual behavior
After 2: the new hidden editform has a wrong ID.

Versions
1.8.1

Additional context
This might be connected to #2065
The difference is that, they dont change any content before the buttons appear disabled.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions