Export profile for Epub: cannot save profile when unselecting Copyright page
[Provide a general summary of the issue in the title above]
Expected behavior
When exporting a book and we want to create a new EPUB export profile with EPUB we have the options as above to change content elements we want to include "Copyright page". Also after creating profile we should be able to update it.
Current behavior
If we remove "Copyright Page" and save, on refresh we will see that copyright will be part of the new saved profile. Same if we try to edit an existing profile, if it already has copyright included and we want to remove it the change will not be saved.
Steps to reproduce
Book here
- Go to Export & Preview
- New Export from sidebar
- Format: EPUB
- Remove the Copyright and Save the template. Refresh the page and should see that the change was not saved and also while you save and get the message that it was successful there will still be a message you have changes not saved.
Environment
Ketida demo test site from firefox browser.
Possible solution
[Not required. Suggest a fix for the bug]