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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Aug 2019 21:12:14 +0000 (21:12 +0000)
commit59005356359e0e8bca4315e3881838be726a463e
tree70cd1e1c8f47b4306bc511e59b7f8c317a2f50c6
parent58699d4148ff19a85d649dc2c21cf851d64f65f9
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>
(cherry picked from commit f558185c8fbf5b5740959c0ec06b2188d6b16f4a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
koha-tmpl/intranet-tmpl/prog/js/letter.js
tools/letter.pl