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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 6 Aug 2019 14:45:26 +0000 (16:45 +0200)
commitf558185c8fbf5b5740959c0ec06b2188d6b16f4a
treef2b936b617c552464ce9344e8332b0f7ea1d77ac
parent1c3f3bde8940b5e7d130ec2625065a6b1d9afb4b
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>
(cherry picked from commit 2c600bf439173c8a7a8ecd41a6433cd1199de078)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
koha-tmpl/intranet-tmpl/prog/js/letter.js
tools/letter.pl