Skip to content

Fix Book form (create) returning to the full books list on cancel - #1687

Merged
ssddanbrown merged 1 commit into
BookStackApp:masterfrom
cnfw:fix/#1662
Oct 27, 2019
Merged

ssddanbrown merged 1 commit into
BookStackApp:masterfrom
cnfw:fix/#1662

Conversation

@cnfw

@cnfw cnfw commented Sep 26, 2019

Copy link
Copy Markdown
Contributor

Fixes #1662
Added a small block of logic to determine the correct URL to attribute to the cancel button on a given page create form.
If adding a book from a bookshelf, return to the bookshelf. If editing a book, return to the book. In all other cases, return to the full books list.

Fixes BookStackApp#1662
Added a small block of logic to determine the correct URL to attribute to the cancel button on a given page create form.
If adding a book from a bookshelf, return to the bookshelf. If editing a book, return to the book. In all other cases, return to the full books list.
@ssddanbrown ssddanbrown added this to the v0.28.0 milestone Oct 27, 2019
@ssddanbrown
ssddanbrown merged commit 2f94f07 into BookStackApp:master Oct 27, 2019
@ssddanbrown

Copy link
Copy Markdown
Member

Thanks for doing this @cw1998, Merged for next feature release.

@cnfw
cnfw deleted the fix/#1662 branch November 8, 2019 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Cancel button on new book page doesn't go back to bookshelf

2 participants