Bug 23278: Reopen last panel upon "Save and continue" in notices
authorOwen Leonard <oleonard@myacpl.org>
Fri, 5 Jul 2019 17:28:06 +0000 (17:28 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 19 Jul 2019 13:07:36 +0000 (14:07 +0100)
commit2c600bf439173c8a7a8ecd41a6433cd1199de078
tree8b8b9bad848f886b4faf9689704d076a8f239253
parentb76aa551049edcb1575d8a4cce917cbc0eb8fa24
Bug 23278: Reopen last panel upon "Save and continue" in notices

This patch modifies the Notices edit process so that if the user chooses
the "Save and continue" option the page reloads with the same panel open
which they were previously editing in.

To test, apply the patch and go to Tools -> Notices and Slips.

 - Open a notice for editing.
 - Expand one of the sections.
 - Choose "Save and continue" from the button menu in the toolbar.
   - When the page reloads, the section you expanded should be open
     again.
 - Test each section and test with no sections expanded.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
koha-tmpl/intranet-tmpl/prog/js/letter.js
tools/letter.pl