Bug 18847 - Add "Save and continue" option to notice editing
authorOwen Leonard <oleonard@myacpl.org>
Wed, 21 Jun 2017 18:57:04 +0000 (18:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Jul 2017 17:39:26 +0000 (14:39 -0300)
commit9f9d4aa4b067be60af423b2e2497ae370ef2484d
treefe766084b466da2ad7e93a4d40e4bc2d332efe8a
parentc91eb80efb3b715fcb825f5cfd11cc6b152cbcb2
Bug 18847 - Add "Save and continue" option to notice editing

This patch adds an option to "Save and continue editing" when editing
notices. The submit button is now a split button in a floating toolbar.
The secondary action of the split button is "Save and continue editing."

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

- Open any notice for editing. Verify that the toolbar looks correct and
  floats as it should when sections of the form are expanded and the
  page scrolls.
- Edit a notice and click the "Save" button. Confirm that you are
  redirected to the main Notices page and that your changes were saved.
- Edit a notice and click the "Save and continue editing" menu item.
  The page should reload with your updates in place.

Signed-off-by: NickUCKohaCon17 <nicansjr@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
tools/letter.pl